+avy leader sg -> M-s for avy-goto-char-2
This commit is contained in:
@@ -886,15 +886,18 @@ Collection of snippets, activate after yasnippet has been loaded.
|
|||||||
:after yasnippet)
|
:after yasnippet)
|
||||||
#+end_src
|
#+end_src
|
||||||
** Avy
|
** 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
|
#+begin_src emacs-lisp
|
||||||
(use-package avy
|
(use-package avy
|
||||||
:after evil
|
:after evil
|
||||||
:general
|
:general
|
||||||
(leader
|
(leader
|
||||||
:infix "s"
|
:infix "s"
|
||||||
"l" #'avy-goto-line
|
"l" #'avy-goto-line)
|
||||||
"g" #'avy-goto-char-2))
|
(general-def
|
||||||
|
:states 'normal
|
||||||
|
(kbd "M-s") #'avy-goto-char-2))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Ace window
|
** Ace window
|
||||||
Though evil provides a great many features in terms of window
|
Though evil provides a great many features in terms of window
|
||||||
|
|||||||
Reference in New Issue
Block a user