Doc view mode stuff

This commit is contained in:
Alexander Rosenberg 2024-10-15 21:02:09 -07:00
parent 97bc04e3ad
commit 4f53be9f33
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

11
init.el
View File

@ -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