diff --git a/init.el b/init.el index 0246ea8..3a30224 100644 --- a/init.el +++ b/init.el @@ -684,6 +684,13 @@ COMMAND and COMINT are like `compile'." (save-excursion (sly)))) (setq inferior-lisp-program "/usr/bin/sbcl")) +;; pdf-tools +(use-package pdf-tools + :hook (pdf-view-mode . my/setup-pdf-view-mode) + :init + (defun my/setup-pdf-view-mode () + (display-line-numbers-mode -1))) + ;; calc (use-package calc :ensure nil @@ -805,7 +812,8 @@ Take directly from doom-modeline." ("tre" "trash-empty $*") ("tre" "trash-empty $*") ("trm" "trash-rm $*") - ("rm" "echo 'rm: I''m unsafe! Don''t use me.'; false"))) + ("rm" "echo 'rm: I''m unsafe! Don''t use me.'; false") + ("\\rm" "eshell/rm"))) (defun eshell/bm (&optional name) "Change to directory of bookmark NAME. If no name is given, list all bookmarks instead."