From 4f53be9f33d458298d949ad574009a8668e035c8 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Tue, 15 Oct 2024 21:02:09 -0700 Subject: [PATCH] Doc view mode stuff --- init.el | 11 +++++++++++ 1 file changed, 11 insertions(+) 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