Add template file shortcut
This commit is contained in:
parent
ec6e9e8a78
commit
f2b259fbcf
|
@ -95,6 +95,14 @@
|
||||||
;; Scratch buffer shortcut
|
;; Scratch buffer shortcut
|
||||||
(keymap-global-set "C-c w x" #'scratch-buffer)
|
(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
|
;; Org directory shortcut
|
||||||
(with-eval-after-load 'org
|
(with-eval-after-load 'org
|
||||||
(defun my/open-org-directory ()
|
(defun my/open-org-directory ()
|
||||||
|
|
Loading…
Reference in a new issue