• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

view-mode

read only mode
  • #emacs
aki77
0.1.2 938
7
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

view-mode package

Read only mode. Build Status

Gyazo

Inspired by view.el

Settings

  • openPatterns (default: '')

Gyazo

Keymap

default

# 'atom-text-editor:not(mini)':
#   'ctrl-x ctrl-q': 'view-mode:toggle'
 
'atom-text-editor.view-mode:not(mini)':
  'q': 'view-mode:toggle'
 
  # emacs like
  'n': 'core:move-down'
  'p': 'core:move-up'
 
  # vi like
  'h': 'editor:move-to-beginning-of-word'
  'l': 'editor:move-to-end-of-word'
  'j': 'core:move-down'
  'k': 'core:move-up'
  'b': 'core:page-up'
  'space': 'core:page-down'
 
  # less like
  'g': 'core:move-to-top'
  'shift-g': 'core:move-to-bottom'
  'f': 'core:page-down'
 
# tree-view
'.tree-view':
  'v': 'view-mode:selected-entry'

TODO

  • [ ] Style Tweaks
  • [ ] unwritable files opened in view-mode

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by