aboutsummaryrefslogtreecommitdiff
path: root/Emacs
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2020-09-01 23:26:52 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2020-09-01 23:26:52 +0100
commite76fabccbe9a5d80f4949dc859c43d0943c13226 (patch)
tree6383214a30d9ec029531b322265934f918e61ba8 /Emacs
parent3254c17d6f3cb0c5080956ee7f187c71bd173946 (diff)
downloaddotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.tar.gz
dotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.tar.bz2
dotfiles-e76fabccbe9a5d80f4949dc859c43d0943c13226.zip
+avy leader sg -> M-s for avy-goto-char-2
Diffstat (limited to 'Emacs')
-rw-r--r--Emacs/.config/emacs/config.org9
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