Add template file shortcut

This commit is contained in:
Evie Litherland-Smith 2024-02-21 06:48:15 +00:00
parent ec6e9e8a78
commit f2b259fbcf

View file

@ -95,6 +95,14 @@
;; Scratch buffer shortcut
(keymap-global-set "C-c w x" #'scratch-buffer)
;; Tempel template file shortcut
(with-eval-after-load 'tempel
(defun my/open-template-file ()
"Open `tempel' template file"
(interactive)
(find-file tempel-path))
(keymap-global-set "C-c w t" #'my/open-template-file))
;; Org directory shortcut
(with-eval-after-load 'org
(defun my/open-org-directory ()