From 1f8039abfcd75ff0ad4660968fa5c9aa28e0b7fa Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Sun, 24 Dec 2023 04:58:55 -0800 Subject: [PATCH] Added pfd-tools and an eshell alias --- init.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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."