From 29a7837a16dde944cc777fbb5b0dd41175e5cf84 Mon Sep 17 00:00:00 2001 From: bd Date: Mon, 1 Sep 2025 23:16:14 -0400 Subject: Add switch to scratch buffer hotkey --- .config/emacs/modules/bd--notes.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/emacs/modules/bd--notes.el b/.config/emacs/modules/bd--notes.el index 70bc3f8..50d6ae4 100644 --- a/.config/emacs/modules/bd--notes.el +++ b/.config/emacs/modules/bd--notes.el @@ -23,7 +23,8 @@ then pastes the active region." (when contents (insert (format "\n\n%s" contents))) (current-buffer))))) -(keymap-global-set "C-c s" #'bd/send-to-scratch) +(keymap-global-set "C-c s" #'scratch-buffer) +(keymap-global-set "C-c C-s" #'bd/send-to-scratch) ;; default *scratch* must have var set (add-hook 'emacs-startup-hook (lambda () -- cgit v1.2.3