Add shortcut to open config file

This commit is contained in:
Evie Litherland-Smith 2024-02-09 09:48:54 +00:00
parent 20667bf228
commit 9944bc799d

View file

@ -33,6 +33,14 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
scroll-margin 0 scroll-margin 0
scroll-preserve-screen-position 1) scroll-preserve-screen-position 1)
;; Config file shortcut
(defun my/open-config-file ()
"Open my literate config file"
(interactive)
(find-file "~/.emacs/README.org"))
(keymap-global-set "C-c w c" #'my/open-config-file)
;; Scratch buffer shortcut ;; Scratch buffer shortcut
(keymap-global-set "C-c w x" #'scratch-buffer) (keymap-global-set "C-c w x" #'scratch-buffer)