emacs: Add and configure avy
This commit is contained in:
parent
56d33886a4
commit
fc71ccbb88
1 changed files with 18 additions and 4 deletions
|
@ -81,6 +81,20 @@
|
||||||
:config (evil-collection-init)
|
:config (evil-collection-init)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; Easymotion-like jumping
|
||||||
|
(use-package avy
|
||||||
|
:custom
|
||||||
|
(avy-style 'pre "Insert decision characters instead of overwriting")
|
||||||
|
:general
|
||||||
|
(lmap
|
||||||
|
"jc" '(avy-goto-char :which-key "Jump to character")
|
||||||
|
"j2" '(avy-goto-char-2 :which-key "Jump to 2 character sequence")
|
||||||
|
"jl" '(avy-goto-line :which-key "Jump to line number")
|
||||||
|
"jw" '(avy-goto-word-0 :which-key "Jump to word")
|
||||||
|
"js" '(avy-goto-word-1 :which-key "Jump to word starting with character")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
;; Better defaults that aren't defaults for some reason.
|
;; Better defaults that aren't defaults for some reason.
|
||||||
(use-package better-defaults
|
(use-package better-defaults
|
||||||
;; But don't enable ido-mode...
|
;; But don't enable ido-mode...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue