view-mode

read only mode

aki77

1,033

7

0.1.2

MIT

GitHub

This package consumes the following services:

view-mode package

Read only mode. Build Status

Gyazo

Inspired by view.el

Settings

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