summaryrefslogtreecommitdiff
path: root/lisp/init-view.el
blob: c849183a68598467a4fda70599e3e4a348d703e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(key-chord-define-global ",v" 'view-mode)

(setq view-read-only t)

(after 'view
  (define-key view-mode-map "l" 'recenter-top-bottom)
  (define-key view-mode-map "a" 'ace-jump-mode)
  (define-key view-mode-map "f" 'forward-word)
  (define-key view-mode-map "b" 'backward-word)
  (define-key view-mode-map "]" 'forward-paragraph)
  (define-key view-mode-map "[" 'backward-paragraph)
  (define-key view-mode-map "j" 'km/imenu))

(provide 'init-view)