249 Commits

Author SHA1 Message Date
Oleh Krehel
cd8fb10759 avy.el (avy--read-candidates): Quit on ESC
Fixes #249
2018-09-13 20:19:19 +02:00
Felipe
a29558d22c Add C-h/DEL/RET info to README for avy-goto-char-timer
Fixes #245
2018-08-31 14:02:24 +02:00
Oleh Krehel
157486aeb1 avy.el: Fix compiler warning 2018-08-14 23:21:25 +02:00
Lane Spangler
fd7b929719 Add option to display an indented goto line overlay
It may be useful to display the overlay for `avy-goto-line` next to the first
non whitespace character on each line so that your eyes do not have to look
across from the code on the line to the left edge of the buffer.

This commit adds a defcustom for `avy-indent-line-overlay` which enables this
new behavior when non nil.
2018-08-13 15:55:01 -04:00
Oleh Krehel
c4e2d50d6d avy.el: avy-goto-char will now display shortest overlays for cands near point
Fixes #242
2018-08-08 17:48:18 +02:00
chm
1de623383e Add avy-goto-end-of-line
Fixes #240
2018-08-06 10:55:56 +02:00
Oleh Krehel
7c40f5e381 avy.el (avy--process): Fix the candidates list being modified when restarting
For example, with multiple windows, `avy-goto-char' followed by "x"
would change the overlays to a subset of the overlays in the current window.
2018-06-15 17:01:33 +02:00
Sebastian Wålinder
7cfe11e3c1 Added ability to display avy candidates from bottom to top
And made scope limitation possible with avy-goto-line-above and below.

Fixes #236
2018-06-12 11:12:13 +02:00
Oleh Krehel
70e384aee5 avy.el (avy--process-1): Extract 2018-06-07 18:17:53 +02:00
Oleh Krehel
8606a8984b avy.el (avy--process): Remove redundant copy-sequence
Hopefully redundant:)
2018-06-07 18:14:38 +02:00
Oleh Krehel
6331b7a6de avy.el (avy--process): Fix avy-goto-line for empty buffer
Fixes #238
2018-06-07 18:11:56 +02:00
Oleh Krehel
58e8636d32 avy.el (avy-action-zap-to-char): More convenient use-cases
Use case 1:

Start (cursor is |):

    This is my sentence and |there is some description

avy-goto-char "d" in description, action "z" results in:

    This is my sentence and |description

Use case 2:

Same start;

avy-goto-char "t" in "This", action "z" results in:

    |there is some description

The nice thing is that the both sequences are reversible with "C-y".

Fixes #234.
2018-05-14 20:00:23 +02:00
walseb
08370cdbc3 Add option to limit avy-goto-subword-0 scope
Fixes #235
2018-04-15 21:59:21 +02:00
Oleh Krehel
2d613eb050 avy.el (avy-action-zap-to-char): Add and bind to "z"
Fixes #234
2018-03-22 21:33:23 +01:00
Oleh Krehel
34d3531a3c avy.el (avy-action-goto): Remove lag 2017-12-30 11:20:36 +01:00
Oleh Krehel
93d4bd2c67 avy.el: Fix indentation 2017-12-30 11:20:36 +01:00
Oleh Krehel
6459f7f12a README.md: Mention avy-resume
Re abo-abo/swiper#1383
2017-12-24 16:30:41 +01:00
Bob Weiner
869261ae81 Display actual character that triggered an error
Fixes #227
2017-12-11 18:23:22 +01:00
Bob Weiner
d4aa876154 Note that change to store full avy path is for external packages 2017-12-11 18:17:48 +01:00
Bob Weiner
9489ca9064 Add window selection via mouse button press and fix typo 2017-12-11 18:17:48 +01:00
Oleh Krehel
793a5e22a7 avy.el (avy-action-teleport): Add save-excursion 2017-12-11 17:19:52 +01:00
Edward Betts
631214d11c Correct spelling mistake
Fixes #218
2017-12-11 17:19:01 +01:00
Oleh Krehel
7f83bbc645 avy.el (avy-action-ispell): Adjust for avy-goto-line
Fixes #191
2017-12-10 20:06:35 +01:00
Oleh Krehel
78392e670e avy.el (avy-action-teleport): Adjust for avy-goto-line
Re #191
2017-12-10 20:06:34 +01:00
Oleh Krehel
a25b255b25 avy.el (avy-action-yank): Adjust for avy-goto-line
Re #191
2017-12-10 20:06:33 +01:00
Oleh Krehel
dee0284f3f avy.el (avy-action-kill-move): Adjust for avy-goto-line
Re #191
2017-12-10 20:06:32 +01:00
Oleh Krehel
1b9f061d27 avy.el (avy-action-kill-stay): Adjust for avy-goto-line
Re #191
2017-12-10 20:06:32 +01:00
Oleh Krehel
56f6590c20 avy.el (avy-action-copy): Adjust for avy-goto-line
Re #191
2017-12-10 20:06:30 +01:00
Oleh Krehel
4af1993290 avy.el (avy-read): Update avy-current-path before returning
Re #226
2017-12-10 09:44:23 +01:00
Oleh Krehel
ddf3c580e7 avy.el (avy-handler-default): Fix typo 2017-12-09 17:28:52 +01:00
Oleh Krehel
176f34f491 avy.el (avy-handler-default): Error msg on mouse clicks
Re #226
2017-12-09 14:01:56 +01:00
Bob Weiner
a0ce6a7558 Add avy-mouse-event-window and fix typo
Fixes #226
2017-12-09 14:01:50 +01:00
Nir Friedman
c08fc7c1c6 Add option to match newline in avy-goto-char-timer
Fixes #220
Fixes #225
2017-11-26 18:15:18 +02:00
Christoph Michelbach
9103291214 Update description to be easier to understand. 2017-11-11 18:21:46 +01:00
Jonas Bernoulli
36f768d9e3 avy.el (avy-words): Specify custom type
Fixes #219
2017-10-14 09:20:04 +02:00
Oleh Krehel
245b5d62fe avy.el: Fix compile warnings
Re #214
2017-08-19 19:39:36 +02:00
Oleh Krehel
8556274978 avy.el (avy-org-goto-heading-timer): Simplify
Re #214
2017-08-13 11:54:44 +02:00
Adam Porter
f4c45d329a avy.el: Add org-mode commands for jumping to and refiling headings
* (avy-org-refile-as-child): Refile current heading to a heading
  selected with Avy.
* (avy-org-goto-heading-timer): Jump to a heading selected with Avy.
  Like avy-goto-char-timer, but for Org headings.
* (avy--read-string-with-timeout): Read a string from the minibuffer
  with a timeout.  Basically factored out of avy-goto-char-timer.
2017-08-12 15:47:07 -05:00
fabacino
0ed6408f18 avy.el: Fix checkdoc warnings
Fixes #212
2017-08-04 20:35:40 +02:00
fabacino
49b070d7da avy-test.el: Fix checkdoc warnings 2017-08-04 20:35:04 +02:00
fabacino
240d717632 Makefile: Add target checkdoc to check documentation guidelines of lisp files
Fixes #211
2017-08-04 20:34:06 +02:00
fabacino
83859c30fa avy.el: Add new avy-style to use words as sequences 2017-08-04 11:05:02 +02:00
Oleh Krehel
228ed97d07 avy.el (avy-action-teleport): Add and bind to "t"
Fixes #207
2017-07-02 11:37:00 +02:00
ketanaka
f2bedeeb58 Allow "C-h" to delete for avy-goto-char-timer
Fixes #193
2017-04-11 15:08:36 +02:00
Oleh Krehel
105efc8482 avy.el (avy-action-copy): Copy line for avy-goto-line
* avy.el (avy-command): New defvar.
(avy-with): Actions can now access the symbol from `avy-with' using
`avy-command'.
(avy-action-copy): Copy line for `avy-goto-line'. Copy sexp for all
other commands.

Fixes #191
2017-04-07 10:11:17 +02:00
Oleh Krehel
54bce2cfb0 avy.el (avy-move-region): Update
Fixes #188
2017-04-02 21:14:29 +02:00
Oleh Krehel
3980c03f6c avy.el (avy-move-region): Insert in original window
Fixes #187
2017-04-02 10:12:22 +02:00
Oleh Krehel
0c30cdba9e avy.el (avy-action-yank): Add and bind to "y"
Fixes #183
2017-03-26 20:57:33 +02:00
Peter Nguyen
d609eb98bd Add avy-goto-word-0-below and avy-goto-word-0-above
These commands limit the scope of avy-goto-word-0 to above or below the
point thus save the number of keys required to jump to a certain word

Fixes #186
2017-03-25 16:45:14 +01:00
Oleh Krehel
b8d7163915 avy.el (avy-action-goto): Add raise-frame 2017-02-08 10:48:22 +01:00