Doc view mode stuff
This commit is contained in:
parent
97bc04e3ad
commit
4f53be9f33
11
init.el
11
init.el
@ -1422,6 +1422,17 @@ If BUFFER is nil, the current buffer is used."
|
||||
(setq-local cursor-type nil))
|
||||
(pdf-tools-install))
|
||||
|
||||
;; doc view
|
||||
(use-package doc-view
|
||||
:ensure nil
|
||||
:hook (doc-view-mode . my/-setup-doc-view-mode)
|
||||
:init
|
||||
(defun my/-setup-doc-view-mode ()
|
||||
(display-line-numbers-mode -1)
|
||||
(evil-define-key '(motion normal visual) 'local
|
||||
(kbd "C-s") #'isearch-forward
|
||||
(kbd "C-r") #'isearch-backward)))
|
||||
|
||||
;; calc
|
||||
(use-package calc
|
||||
:ensure nil
|
||||
|
Loading…
Reference in New Issue
Block a user