Added pfd-tools and an eshell alias

This commit is contained in:
Alexander Rosenberg 2023-12-24 04:58:55 -08:00
parent cee2f438f2
commit 1f8039abfc
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

10
init.el
View File

@ -684,6 +684,13 @@ COMMAND and COMINT are like `compile'."
(save-excursion (sly)))) (save-excursion (sly))))
(setq inferior-lisp-program "/usr/bin/sbcl")) (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 ;; calc
(use-package calc (use-package calc
:ensure nil :ensure nil
@ -805,7 +812,8 @@ Take directly from doom-modeline."
("tre" "trash-empty $*") ("tre" "trash-empty $*")
("tre" "trash-empty $*") ("tre" "trash-empty $*")
("trm" "trash-rm $*") ("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) (defun eshell/bm (&optional name)
"Change to directory of bookmark NAME. "Change to directory of bookmark NAME.
If no name is given, list all bookmarks instead." If no name is given, list all bookmarks instead."