Skip to content

avy 0.4.0

Compare
Choose a tag to compare
@abo-abo abo-abo released this 23 Jan 13:54
· 143 commits to master since this release

Table of Contents

  • Fixes
    • avy-goto-char-timer obeys avy-styles-alist
    • Add de-bruijn to the defcustom of avy-styles-alist
    • Respect the current input method for target chars
    • avy-goto-subword-0 shouldn't offer invisible chars
    • Better case-fold-search handling
    • Add misc punctuation to subword commands
    • Add padding for wide-width chars (ex. Japanese and Chinese)
    • avy-goto-line
      • Push mark for numeric line
      • Allow numeric prefix arg
      • Work for visual-line-mode
      • Don't error on end of buffer
      • Obey avy-background
      • Fix for narrowed regions
      • Don't modify avy-action
    • avy-goto-char-timer
      • May read as many chars as you want
      • Highlight matches while reading chars
      • Highlight depending on avy-all-windows
      • Make faster for org-mode
      • Add case fold search
    • avy-copy-region
      • Keep the same selectors for the second pass
      • Copy/move to initial window
    • Search only in the visible region
    • Fix jumping to the last char of a folded Org outline
    • Fix for both org-indent-mode and visual-line-mode
    • Beep when there are no matches
    • Simplify overlay code
    • Fix de-bruijn "no catch for tag"
    • Fix overlays at point-max
    • Improve case-fold-search condition
    • Don't shorten selector string for visual-line-mode and bolp
    • Fix interaction with goto-address-mode
  • New Features
    • Allow non-printing keys in avy-keys
    • Allow to switch action midway from goto to kill/mark/copy
    • New command avy-pop-mark
    • New commands avy-goto-line-above and avy-goto-line-below
    • New defcustom avy-line-insert-style
    • New defcustom avy-all-windows-alt
    • New defcustom avy-subword-extra-word-chars

0.4.0

Fixes

avy-goto-char-timer obeys avy-styles-alist

See #67.

Add de-bruijn to the defcustom of avy-styles-alist

See #73.

Respect the current input method for target chars

See #76.

avy-goto-subword-0 shouldn't offer invisible chars

See #90.

Better case-fold-search handling

See #87.

Add misc punctuation to subword commands

See #93.

Add padding for wide-width chars (ex. Japanese and Chinese)

See #96.

avy-goto-line

Push mark for numeric line

See #74.

Allow numeric prefix arg

The old behavior remains for ARG 1 or 4. For all other ARG, simply go to that line. See #86.

Work for visual-line-mode

See #91.

Don't error on end of buffer

See #91.

Obey avy-background

See #94.

Fix for narrowed regions

See #122, #123.

Don't modify avy-action

See #124.

avy-goto-char-timer

May read as many chars as you want

See #97.

Highlight matches while reading chars

See #98.

Highlight depending on avy-all-windows

See #104.

Make faster for org-mode

See #100.

Add case fold search

See #128.

avy-copy-region

Keep the same selectors for the second pass

See #120, #121.

Copy/move to initial window

See #131.

Search only in the visible region

See #108, #109.

Fix jumping to the last char of a folded Org outline

See #108.

Fix for both org-indent-mode and visual-line-mode

See #110.

Beep when there are no matches

See #111.

Simplify overlay code

Most functions reuse avy--overlay now.

Fix de-bruijn "no catch for tag"

See #116.

Fix overlays at point-max

See #125.

Improve case-fold-search condition

See #126.

Don't shorten selector string for visual-line-mode and bolp

See #129.

Fix interaction with goto-address-mode

New Features

Allow non-printing keys in avy-keys

Now you can set avy-keys also to the arrow keys and page up/down, e.g.

(setq avy-keys '(left right up down prior next))

and those will be displayed as ▲, ▼, ◀, ▶, △, ▽ in the overlays. The display is controlled by the variable avy-key-to-char-alist.

See #77.

Allow to switch action midway from goto to kill/mark/copy

For example, suppose you have:

(global-set-key (kbd "M-t") 'avy-goto-word-1)
  • To jump to a certain word starting with "w" (e.g. first one on screen): M-t w a
  • To copy the word instead of jumping to it: M-t w na.
  • To mark the word after jumping to it: M-t w ma.
  • To kill the word after jumping to it: M-t w xa.

You can customize avy-dispatch-alist to modify these actions.

See #78.

New command avy-pop-mark

Goes back to the last location of push-mark:

  • has its own history,
  • handles multiple frames.

See #81 #88 #69.

New commands avy-goto-line-above and avy-goto-line-below

See #106.

New defcustom avy-line-insert-style

Allows to modify the behavior of avy-copy-line, avy-move-line, and avy-copy-region. See #117.

New defcustom avy-all-windows-alt

Allows to customize the behavior of universal-argument modifying avy-all-windows. See #118.

New defcustom avy-subword-extra-word-chars

Allows to customize the behavior of avy-goto-subword-0 and avy-goto-subword-1 by adding extra chars that should match as word constituents. See #116.