summaryrefslogtreecommitdiff
path: root/lisp/init-view.el
blob: fab08e9b6e30b20de168abb672d0bf013a606cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(setq view-read-only t)

(after 'view
  (define-key view-mode-map "l" 'recenter-top-bottom)
  (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" 'ace-jump-mode))

(key-chord-define-global "hq" 'view-mode)

(provide 'init-view)