dotfiles/emacs-lisp/avy.org
Magic_RB 9bf5aa7a27
Even more koy stuff
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2021-11-25 21:47:24 +01:00

745 B

Avy

avy is a GNU Emacs package for jumping to visible text using a char-based decision tree. See also ace-jump-mode and vim-easymotion - avy uses the same idea.

  (use-package avy
    :straight t
    :general
    (:states '(normal insert)
             :predicate 'magic_rb-koy-compat-p
             :keymaps '(magic_rb-koy-treemacs-mode-map magic_rb-koy-magit-mode-map magic_rb-koy-evil-mode-map)
             "z" (general-key-dispatch 'self-insert-command
                                       :timeout 0.25
                                       "z" 'avy-goto-char-timer)))