summaryrefslogtreecommitdiff
path: root/lisp/init-view.el
blob: 75ffafdf30e43087566c79dc132feaa551efa42d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(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))

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

(provide 'init-view)