From 6610c177974a580f2e2214327c29920a3ae60ce8 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Thu, 21 Jan 2021 16:46:31 -0500 Subject: [PATCH] Change keybinding --- README.org | 4 ++-- init.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 436fbe4..1c7554e 100644 --- a/README.org +++ b/README.org @@ -241,11 +241,13 @@ https://github.com/redguardtoo/evil-nerd-commenter Again cherry picked from =Doom=, I want to continue utilizing the muscle memory I have developed from a year of mainlining the framework. + Find files =SPC . (period)= ++ Close buffers with =SPC / (slash)= + Switch buffers with =SPC , (comma)= #+begin_src emacs-lisp (dotfiles/leader "," '(switch-to-buffer :which-key "Buffer") + "/" '(kill-buffer-and-window :which-key "Close") "." '(find-file :which-key "File")) #+end_src @@ -269,7 +271,6 @@ Quit emacs with =SPC q=. Window management with =SPC w=. + Swap with =w= + Close with =c= -+ Delete with =d= + Motions with =h,j,k,l= + Split with =s + = @@ -277,7 +278,6 @@ Window management with =SPC w=. (dotfiles/leader "w" '(:ignore t :which-key "Window") "ww" '(window-swap-states :which-key "Swap") - "wd" '(kill-buffer-and-window :which-key "Delete") "wc" '(delete-window :which-key "Close") "wh" '(windmove-left :which-key "Left") "wj" '(windmove-down :which-key "Down") diff --git a/init.el b/init.el index 915cb49..d6440d1 100644 --- a/init.el +++ b/init.el @@ -101,6 +101,7 @@ (dotfiles/leader "," '(switch-to-buffer :which-key "Buffer") + "/" '(kill-buffer-and-window :which-key "Close") "." '(find-file :which-key "File")) (dotfiles/leader @@ -112,7 +113,6 @@ (dotfiles/leader "w" '(:ignore t :which-key "Window") "ww" '(window-swap-states :which-key "Swap") - "wd" '(kill-buffer-and-window :which-key "Delete") "wc" '(delete-window :which-key "Close") "wh" '(windmove-left :which-key "Left") "wj" '(windmove-down :which-key "Down")