From e9dc0810f476790d3dd09eab68dfb35450ffce9a Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Fri, 14 May 2021 06:25:20 -0400 Subject: [PATCH] Add key binding to jump to scratch buffer --- modules/dashboard.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/dashboard.org b/modules/dashboard.org index 7830f6a..38f7ee1 100644 --- a/modules/dashboard.org +++ b/modules/dashboard.org @@ -74,6 +74,16 @@ Quickly navigate to the dashboard with =SPC SPC=. :which-key "Dashboard")) #+end_src +Navigate to the scratch buffer with =SPC C-SPC=. + +#+begin_src emacs-lisp +(dotfiles/leader + "C-SPC" '((lambda () + (interactive) + (switch-to-buffer "*scratch*")) + :which-key "Scratch")) +#+end_src + * Footnotes [fn:1] https://github.com/emacs-dashboard/emacs-dashboard