Tweak avy bindings
This commit is contained in:
parent
6572405db8
commit
ba9f0fe63c
20
config.org
20
config.org
|
@ -223,19 +223,13 @@ More modern ace-jump-mode
|
||||||
|
|
||||||
Set up our key bindings
|
Set up our key bindings
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! avy
|
(map! :leader
|
||||||
(define-key!
|
(:prefix ("j" . "jump")
|
||||||
"M-g c" 'avy-goto-char
|
"c" #'avy-goto-char
|
||||||
"M-g x" 'avy-goto-char-2
|
"x" #'avy-goto-char-2
|
||||||
"M-g f" 'avy-goto-line
|
"f" #'avy-goto-line
|
||||||
"M-g w" 'avy-goto-word-1
|
"w" #'avy-goto-word-1
|
||||||
"M-g e" 'avy-goto-word-0)
|
"e" #'avy-goto-word-0))
|
||||||
(cheatsheet-add-group 'Avy
|
|
||||||
'(:key "M-g c" :description "Goto Char")
|
|
||||||
'(:key "M-g x" :description "Goto Char (2)")
|
|
||||||
'(:key "M-g f" :description "Goto line")
|
|
||||||
'(:key "M-g w" :description "Goto word")
|
|
||||||
'(:key "M-g e" :description "Goto word (0)")))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Configure avy to use relative-to-point paths for every command we have bound
|
Configure avy to use relative-to-point paths for every command we have bound
|
||||||
|
|
Loading…
Reference in New Issue