From 9944bc799d108740de326c0472f27f8516d35532 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 9 Feb 2024 09:48:54 +0000 Subject: [PATCH] Add shortcut to open config file --- README.org | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.org b/README.org index c89794d..f988fe6 100644 --- a/README.org +++ b/README.org @@ -33,6 +33,14 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia scroll-margin 0 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 (keymap-global-set "C-c w x" #'scratch-buffer)