Added pfd-tools and an eshell alias
This commit is contained in:
parent
cee2f438f2
commit
1f8039abfc
10
init.el
10
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."
|
||||
|
Loading…
Reference in New Issue
Block a user