#+title:    Avy: Quickly Jump Around Buffers
#+author:   Tom Trabue
#+email:    tom.trabue@gmail.com
#+date:     2021:02:02
#+property: header-args:emacs-lisp :lexical t
#+tags:
#+STARTUP: fold

=avy= is a jump-to-text plugin similar to =ace-jump-mode=, or =vim-easymotion=
for Vim/Neovim. It is newer and more feature-rich than =ace-jump-mode=, as well
as being actively maintained, making =avy= the better alternative.

#+begin_src emacs-lisp
  (use-package avy
    :after evil-collection
    :general
    (general-def '(normal motion)
      ;; Remap standard f/F t/T evil keybindings to avy motions.
      "f" 'avy-goto-char
      "F" 'avy-goto-word-1
      "t" 'avy-goto-char-2
      "T" 'avy-goto-word-0
      ;; Jump to line based on an abbreviation.
      "L" 'avy-goto-line)
    (my/evil-leader-def
      ;; Jump to word beginning with character.
      "a" 'avy-goto-word-1
      ;; Jump to text beginning with 1 input character.
      "A" 'avy-goto-char)
    :custom
    ;; How avy's overlay appears near matches.
    (avy-style 'at-full)
    ;; When non-nil, display line overlay next to the first non-whitespace
    ;; character.
    (avy-indent-line-overlay t))
#+end_src

#+title:    Avy: Quickly Jump Around Buffers
#+author:   Tom Trabue
#+email:    tom.trabue@gmail.com
#+date:     2021:02:02
#+property: header-args:emacs-lisp :lexical t
#+tags:
#+STARTUP: fold

=avy= is a jump-to-text plugin similar to =ace-jump-mode=, or =vim-easymotion=
for Vim/Neovim. It is newer and more feature-rich than =ace-jump-mode=, as well
as being actively maintained, making =avy= the better alternative.

#+begin_src emacs-lisp
  (use-package avy
    :after evil-collection
    :general
    (general-def '(normal motion)
      ;; Remap standard f/F t/T evil keybindings to avy motions.
      "f" 'avy-goto-char
      "F" 'avy-goto-word-1
      "t" 'avy-goto-char-2
      "T" 'avy-goto-word-0
      ;; Jump to line based on an abbreviation.
      "L" 'avy-goto-line)
    :custom
    ;; How avy's overlay appears near matches.
    (avy-style 'at-full)
    ;; When non-nil, display line overlay next to the first non-whitespace
    ;; character.
    (avy-indent-line-overlay t))
#+end_src

Remove unnecessary avy leader keys
emacs: Remove unnecessary avy leader keys
