Update buffer and frame keybindings

This commit is contained in:
Jeremy Dormitzer 2019-03-02 12:45:46 -05:00
parent 5461528405
commit 928c549fea

View File

@ -384,17 +384,20 @@ A function to kill all buffers except the current one from [[https://www.emacswi
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(jdormit/define-prefix "b" "buffer") (jdormit/define-prefix "b" "buffer")
(leader-def-key "bb" 'switch-to-buffer) (leader-def-key "bb" #'switch-to-buffer)
(leader-def-key "bd" 'kill-buffer) (leader-def-key "bn" #'next-buffer)
(leader-def-key "bm" 'kill-other-buffers) (leader-def-key "bp" #'previous-buffer)
(leader-def-key "br" 'rename-buffer) (leader-def-key "bd" #'kill-buffer)
(leader-def-key "bm" #'kill-other-buffers)
(leader-def-key "br" #'rename-buffer)
#+END_SRC #+END_SRC
** Frame commands ** Frame commands
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(jdormit/define-prefix "F" "frame") (jdormit/define-prefix "F" "frame")
(leader-def-key "Fn" 'make-frame-command) (leader-def-key "Fn" #'make-frame-command)
(leader-def-key "Fm" 'delete-other-frames) (leader-def-key "Fo" #'other-frame)
(leader-def-key "Fd" 'delete-frame) (leader-def-key "Fm" #'delete-other-frames)
(leader-def-key "Fd" #'delete-frame)
#+END_SRC #+END_SRC
** Running shell commands ** Running shell commands