From 928c549feaada5d112d5a2982cdee1a4f3dc47bd Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 2 Mar 2019 12:45:46 -0500 Subject: [PATCH] Update buffer and frame keybindings --- emacs/init.org | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 0b58152..66644c0 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -384,17 +384,20 @@ A function to kill all buffers except the current one from [[https://www.emacswi #+BEGIN_SRC emacs-lisp (jdormit/define-prefix "b" "buffer") - (leader-def-key "bb" 'switch-to-buffer) - (leader-def-key "bd" 'kill-buffer) - (leader-def-key "bm" 'kill-other-buffers) - (leader-def-key "br" 'rename-buffer) + (leader-def-key "bb" #'switch-to-buffer) + (leader-def-key "bn" #'next-buffer) + (leader-def-key "bp" #'previous-buffer) + (leader-def-key "bd" #'kill-buffer) + (leader-def-key "bm" #'kill-other-buffers) + (leader-def-key "br" #'rename-buffer) #+END_SRC ** Frame commands #+BEGIN_SRC emacs-lisp (jdormit/define-prefix "F" "frame") - (leader-def-key "Fn" 'make-frame-command) - (leader-def-key "Fm" 'delete-other-frames) - (leader-def-key "Fd" 'delete-frame) + (leader-def-key "Fn" #'make-frame-command) + (leader-def-key "Fo" #'other-frame) + (leader-def-key "Fm" #'delete-other-frames) + (leader-def-key "Fd" #'delete-frame) #+END_SRC ** Running shell commands