diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-01 23:26:52 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-09-01 23:26:52 +0100 |
commit | e76fabccbe9a5d80f4949dc859c43d0943c13226 (patch) | |
tree | 6383214a30d9ec029531b322265934f918e61ba8 | |
parent | 3254c17d6f3cb0c5080956ee7f187c71bd173946 (diff) | |
download | dotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.tar.gz dotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.tar.bz2 dotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.zip |
+avy leader sg -> M-s for avy-goto-char-2
-rw-r--r-- | Emacs/.config/emacs/config.org | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 69e8779..aaa3f85 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -886,15 +886,18 @@ Collection of snippets, activate after yasnippet has been loaded. :after yasnippet) #+end_src ** Avy -Setup avy with leader. +Setup avy with leader. As I use =avy-goto-char-2= a lot, use the =M-s= +bind. #+begin_src emacs-lisp (use-package avy :after evil :general (leader :infix "s" - "l" #'avy-goto-line - "g" #'avy-goto-char-2)) + "l" #'avy-goto-line) + (general-def + :states 'normal + (kbd "M-s") #'avy-goto-char-2)) #+end_src ** Ace window Though evil provides a great many features in terms of window |