diff --git a/init.el b/init.el index f9bd5b6..1544f4c 100644 --- a/init.el +++ b/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