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
|
||||
#+begin_src emacs-lisp
|
||||
(after! avy
|
||||
(define-key!
|
||||
"M-g c" 'avy-goto-char
|
||||
"M-g x" 'avy-goto-char-2
|
||||
"M-g f" 'avy-goto-line
|
||||
"M-g w" 'avy-goto-word-1
|
||||
"M-g 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)")))
|
||||
(map! :leader
|
||||
(:prefix ("j" . "jump")
|
||||
"c" #'avy-goto-char
|
||||
"x" #'avy-goto-char-2
|
||||
"f" #'avy-goto-line
|
||||
"w" #'avy-goto-word-1
|
||||
"e" #'avy-goto-word-0))
|
||||
#+end_src
|
||||
|
||||
Configure avy to use relative-to-point paths for every command we have bound
|
||||
|
|
Loading…
Reference in New Issue