From bc3c695b7ae280e0fbda96e3128087848d3a1cc9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Sep 2020 23:24:18 +0100 Subject: +evil lion --- Emacs/.config/emacs/config.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 0dba22e..0244547 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -403,6 +403,30 @@ the current position. (evil-mc-pause-cursors))) #+end_src +*** Evil lion +Evil lion provides alignment operators. Alignment operators allow you +to, on some given text, align it via a symbol. + +For example it can transform the following +#+begin_example +(James . 19) +(Arthur . 22) +#+end_example + +to +#+begin_example +(James . 19) +(Arthur . 22) +#+end_example + +which would be done via =gl= (in this case =glip.=) + +#+begin_src emacs-lisp +(use-package evil-lion + :after evil + :config + (evil-lion-mode)) +#+end_src *** Evil collection Setup evil collection, but don't turn on the mode. Instead, I'll turn on setups for specific modes I think benefit from it. -- cgit v1.2.3-13-gbd6f