3 *** Candidate window reversal
4 See [[https://github.com/abo-abo/avy/issues/27][#27]].
6 *** Jumping to newlines with =at-full= style
7 See [[https://github.com/abo-abo/avy/issues/5][#5]].
9 *** Stop =at-full= style from shifting text sometimes
10 See [[https://github.com/abo-abo/avy/issues/5][#5]].
12 *** Fix =at-full= interaction with tabs
13 When at a tab, visualize it using =tab-width= spaces.
15 See [[https://github.com/abo-abo/avy/issues/43][#43]].
17 *** Fix overlay issue when the same buffer is in two windows
19 See [[https://github.com/abo-abo/avy/issues/47][#47]] and http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20607.
21 *** Quote punctuation chars
23 See [[https://github.com/abo-abo/avy/issues/63][#63]].
25 *** Update screenshot for =avy-goto-char= in README.md
26 Use ~C-:~ as the new suggested binding instead of the pi char.
28 See [[https://github.com/abo-abo/avy/issues/64][#64]].
31 *** =avy-goto-line= can now break into =goto-line=
32 Just enter a digit and you'll be transferred into =goto-line= prompt
33 with that digit already entered. This means that you can just bind
34 ~M-g g~ to =avy-goto-line= without losing anything.
36 See [[https://github.com/abo-abo/avy/issues/29][#29]].
38 *** =avy-goto-line= now works with all kinds of overlay styles
39 Any of the following do something different now:
42 (setq avy-styles-alist
43 '((avy-goto-line . post)))
44 (setq avy-styles-alist
45 '((avy-goto-line . at)))
46 (setq avy-styles-alist
47 '((avy-goto-line . at-full)))
48 (setq avy-styles-alist
49 '((avy-goto-line . pre)))
52 See [[https://github.com/abo-abo/ace-link/issues/17][#17]].
54 *** New defcustom =avy-case-fold-search=
55 Non-nil when searches should ignore case, so e.g. =avy-goto-char= "b"
56 will match both "b" and "B". On by default. Use this to turn off this
60 (setq avy-case-fold-search nil)
63 See [[https://github.com/abo-abo/avy/issues/34][#34]].
65 *** New command =avy-goto-word-or-subword-1=
67 Enter one char, and select a visible word or subword that starts with
68 it, depending on =subword-mode=. Move the point there.
70 See [[https://github.com/abo-abo/avy/issues/33][#33]].
72 *** =avy-move-line= should remove empty line after original one is moved
74 See [[https://github.com/abo-abo/avy/issues/40][#40]].
76 *** =avy-move-line= now takes a prefix arg
77 Use e.g. ~M-3~ before =avy-move-line= to move 3 lines at once.
79 *** Most commands can be used non-interactively
87 This command only goes to the "(" character. This is actually very
88 similar to [[http://oremacs.com/lispy/#lispy-ace-paren][=lispy-ace-paren=]], except the implementation is only one
91 See [[https://github.com/abo-abo/avy/issues/44][#44]].
93 *** (almost) all defcustoms are explained on the wiki
95 See [[https://github.com/abo-abo/avy/wiki/defcustom][the defcustom wiki page]].
97 *** Allow all operations to work across frames
99 You have to customize =avy-all-windows= for this. By default, it's set
100 to work on all windows on the current frame.
102 To make it work only on the current window, use:
104 (setq avy-all-windows nil)
107 To make it work on all frames, use:
109 (setq avy-all-windows 'all-frames)
112 *** New command =avy-goto-char-in-line=
114 This is =avy-goto-char= reduced only to the current line. Few
115 candidates means very short decision chars path.
117 See [[https://github.com/abo-abo/avy/issues/49][#49]].
119 *** New overlay style =de-bruijn=
124 (setq avy-style 'de-bruijn)
127 What it does: when your leading chars are clumped up together, it's
128 impossible to overlay the decision path without shifting the buffer
129 text a bit. For example, with the word "buffer", you =avy-goto-char= "b", and:
131 - the path for the first "f" is "aj"
132 - the path for the second "f" is "ak"
134 It's not possible to overlay 4 characters over "ff" in "buffer". But
135 to with =de-bruijn= style, which results in the path being "aj" and
136 "jk". It's possible to overlay "ajk" just fine.
138 Pros and cons of =de-bruijn= over other styles:
140 - a pro is that it's possible to display the full decision path for
141 clumped up chars, which is truncated for other styles
142 - a con is that the decision path is of the same length (e.g. 2 or 3)
143 for all candidates, while with other styles it's possible to have a
144 few candidets with a shorter path.
146 See [[https://github.com/abo-abo/avy/issues/51][#51]] and [[https://github.com/abo-abo/avy/issues/5][#5]].
148 *** New defcustom =avy-ignored-modes=
150 This is meant for visual modes like =doc-view-mode= or =image-mode=
151 that can have a huge number of chars in a single window. Which results
152 in a huge number of candidates even in other windows.
157 (setq avy-ignored-modes '(image-mode doc-view-mode pdf-view-mode))
160 See [[https://github.com/abo-abo/avy/issues/57][#57]].
162 *** New tutorial on writing custom commands
164 See the [[https://github.com/abo-abo/avy/wiki/custom-commands][the custom-commands wiki page]] and [[https://github.com/abo-abo/avy/issues/55][#55]].
167 New variable =avy-lead-faces= will determine the faces used to color
168 the current decision depth you're in. For example, if to select a
169 particular candidate you need to press "abc":
171 - "a" will be highlighted with a face that corresponds to depth 3
172 - "b" will be highlighted with a face that corresponds to depth 2
173 - "c" will be highlighted with a face that corresponds to depth 1
175 But if another candidate needs "ef":
177 - "e" will be highlighted with a face that corresponds to depth 2
178 - "f" will be highlighted with a face that corresponds to depth 1
180 See [[https://github.com/abo-abo/avy/issues/53][#53]].
182 *** New variable =avy-translate-char-function=
184 You can use this, for example, to interpret one character as another in =avy-keys=.
188 (setq avy-translate-char-function
189 (lambda (c) (if (= c 32) ?a c)))
192 This will translate ~SPC~ (32) into ~a~. So you can press either ~a~ or ~SPC~ to mean "a".
194 *** =avy-isearch= works for different styles
196 See [[https://github.com/abo-abo/avy/issues/61][#61]].
198 *** Switch the default style from =pre= to =at-full=
200 I've come to like =at-full= more than =pre= over time. The difference
201 is that =pre= hides no chars in your buffer, while =at-full= doesn't
204 Use this to restore the previous default behavior:
206 (setq avy-style 'pre)
211 *** =avy-goto-char-timer= obeys =avy-styles-alist=