aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-28 19:07:43 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-28 19:10:44 +0100
commit07a756e3d1f5f28d2765acb81800af14d0442812 (patch)
tree53ba0047776fffc4b2ebe72a99f26dd39cceedc5
parent76bf60ee25b25948071e2aa52d04181574d609c3 (diff)
downloaddotfiles-07a756e3d1f5f28d2765acb81800af14d0442812.tar.gz
dotfiles-07a756e3d1f5f28d2765acb81800af14d0442812.tar.bz2
dotfiles-07a756e3d1f5f28d2765acb81800af14d0442812.zip
(Emacs)+mwim package with binds
mwim is a cool package that allows for easy leet movements.
-rw-r--r--Emacs/.config/emacs/config.org15
1 files changed, 15 insertions, 0 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 8bdcecf..b282bd5 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1116,6 +1116,21 @@ for exiting insert state. Otherwise, I don't really need it.
(key-chord-define evil-insert-state-map "jk" #'evil-normal-state)
(key-chord-mode +1))
#+end_src
+** mwim
+Nice package for nicer movements. Of course the movements it enables
+aren't really difficult to execute via Evil, but when running through
+a large codebase or particularly long files with loads of lines of
+code it does make life a bit easier.
+#+begin_src emacs-lisp
+(use-package mwim
+ :after keychord
+ :straight t
+ :general
+ (general-def
+ :states '(normal motion)
+ "gl" #'mwim-end
+ "gh" #'mwim-beginning))
+#+end_src
** (Rip)grep
Grep is likely one of the most important programs ever invented; a
must-have tool for any Linux users inventory. It is a searching