mirror of
https://github.com/abo-abo/avy.git
synced 2025-10-13 13:33:03 +00:00
parent
44d76b9d2a
commit
8d38a898f2
3
avy.el
3
avy.el
@ -934,13 +934,14 @@ The window scope is determined by `avy-all-windows' (ARG negates it)."
|
|||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let ((c1 (read-char "char 1: "))
|
(let ((c1 (read-char "char 1: "))
|
||||||
(c2 (read-char "char 2: " nil avy-timeout-seconds)))
|
(c2 (read-char "char 2: " nil avy-timeout-seconds)))
|
||||||
|
(avy--with-avy-keys avy-goto-char-timer
|
||||||
(avy--generic-jump
|
(avy--generic-jump
|
||||||
(regexp-quote
|
(regexp-quote
|
||||||
(if c2
|
(if c2
|
||||||
(string c1 c2)
|
(string c1 c2)
|
||||||
(string c1)))
|
(string c1)))
|
||||||
arg
|
arg
|
||||||
avy-style)))
|
avy-style))))
|
||||||
|
|
||||||
(define-obsolete-variable-alias
|
(define-obsolete-variable-alias
|
||||||
'avy-goto-char-style 'avy-style "0.1.0"
|
'avy-goto-char-style 'avy-style "0.1.0"
|
||||||
|
@ -164,9 +164,9 @@ See [[https://github.com/abo-abo/avy/issues/57][#57]].
|
|||||||
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]].
|
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]].
|
||||||
|
|
||||||
*** New face setup
|
*** New face setup
|
||||||
|
New variable =avy-lead-faces= will determine the faces used to color
|
||||||
New variable =avy-lead-faces= will determine the faces used to color the current decision depth you're in.
|
the current decision depth you're in. For example, if to select a
|
||||||
For example, if to select a particular candidate you need to press "abc":
|
particular candidate you need to press "abc":
|
||||||
|
|
||||||
- "a" will be highlighted with a face that corresponds to depth 3
|
- "a" will be highlighted with a face that corresponds to depth 3
|
||||||
- "b" will be highlighted with a face that corresponds to depth 2
|
- "b" will be highlighted with a face that corresponds to depth 2
|
||||||
@ -205,3 +205,7 @@ Use this to restore the previous default behavior:
|
|||||||
#+begin_src elisp
|
#+begin_src elisp
|
||||||
(setq avy-style 'pre)
|
(setq avy-style 'pre)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* trunk
|
||||||
|
** Fixes
|
||||||
|
*** =avy-goto-char-timer= obeys =avy-styles-alist=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user