Browse Source

Add key binding to jump to scratch buffer

main
parent
commit
e9dc0810f4
  1. 10
      modules/dashboard.org

10
modules/dashboard.org

@ -74,6 +74,16 @@ Quickly navigate to the dashboard with =SPC SPC=.
:which-key "Dashboard")) :which-key "Dashboard"))
#+end_src #+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 * Footnotes
[fn:1] https://github.com/emacs-dashboard/emacs-dashboard [fn:1] https://github.com/emacs-dashboard/emacs-dashboard
Loading…
Cancel
Save