From 862f7b7020ba2d0120081eeffa624de59382737c Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Wed, 13 Jan 2021 12:30:13 -0500 Subject: [PATCH] Cleanup bindings --- README.org | 8 ++++---- init.el | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index c7ee830..08528b2 100644 --- a/README.org +++ b/README.org @@ -207,7 +207,7 @@ Quit emacs with =SPC q=. Window management with =SPC w=. + Swap with =w= -+ Kill with =k= ++ Close with =c= + Delete with =d= + Motions with =h,j,k,l= + Split with =s + = @@ -216,8 +216,8 @@ Window management with =SPC w=. (dotfiles/leader "w" '(:ignore t :which-key "Window") "ww" '(window-swap-states :which-key "Swap") - "wk" '(kill-buffer-and-window :which-key "Kill") - "wd" '(delete-window :which-key "Delete") + "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") "wk" '(windmove-up :which-key "Up") @@ -366,7 +366,7 @@ https://github.com/seagle0128/doom-modeline (emacs-lisp . t))) (require 'org-tempo) - (add-to-list 'org-structure-template-alist '("s" . "src ")) + (add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("q" . "quote")) (add-to-list 'org-structure-template-alist '("e" . "example")) (add-to-list 'org-structure-template-alist '("sh" . "src shell")) diff --git a/init.el b/init.el index 1d2f010..14c4a16 100644 --- a/init.el +++ b/init.el @@ -87,8 +87,8 @@ (dotfiles/leader "w" '(:ignore t :which-key "Window") "ww" '(window-swap-states :which-key "Swap") - "wk" '(kill-buffer-and-window :which-key "Kill") - "wd" '(delete-window :which-key "Delete") + "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") "wk" '(windmove-up :which-key "Up") @@ -148,7 +148,7 @@ (emacs-lisp . t))) (require 'org-tempo) - (add-to-list 'org-structure-template-alist '("s" . "src ")) + (add-to-list 'org-structure-template-alist '("s" . "src")) (add-to-list 'org-structure-template-alist '("q" . "quote")) (add-to-list 'org-structure-template-alist '("e" . "example")) (add-to-list 'org-structure-template-alist '("sh" . "src shell"))