From e76fabccbe9a5d80f4949dc859c43d0943c13226 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 1 Sep 2020 23:26:52 +0100 Subject: +avy leader sg -> M-s for avy-goto-char-2 --- Emacs/.config/emacs/config.org | 9 ++++++--- 1 file 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 -- cgit v1.2.3-13-gbd6f