277 Commits

Author SHA1 Message Date
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
Oleh Krehel
c911850a45 avy.el (avy--overlay-at-full): Fix for visual-line-mode
`end-of-visual-line' is bugged somehow:

This code sometimes produces (point) < beg:

    (goto-char beg)
    (save-excursion
      (end-of-visual-line)
      (point))

which should never happen.

Re #179
2017-02-08 10:46:06 +01:00
Oleh Krehel
0f5e99b5e9 avy.el: Use next-char-property-change, not next-overlay-change
* avy.el (avy--next-visible-point):
(avy--next-invisible-point): Update.

Fixes #168
2016-08-14 11:50:36 +02:00
Oleh Krehel
a9119039ee avy.el (avy-goto-word-1): Work for "^A"-"^Z"
Fixes #167
2016-08-03 15:36:25 +02:00
Oleh Krehel
a5fb9369e7 avy.el (avy-resume): Make it show up in M-x
Re #165
2016-07-22 14:12:45 +02:00
Oleh Krehel
dd112c88e2 avy.el (avy-goto-subword-1): Check char-after
When at `point-max', `char-after' returns nil. This can't be passed to `downcase'.

Fixes #163
2016-07-11 17:58:26 +02:00
Xu Ma
07153e4fb7 Add kill and save region functionality.
Fixes #158
2016-07-10 09:41:13 +02:00
Oleh Krehel
e460d7ebe8 avy.el (flyspell-correct-word-before-point): Declare 2016-07-08 09:59:20 +02:00
MadAnd
20ecb9bed6 Use flyspell if its minor mode is active
Fixes #160
Fixes #161
2016-07-03 08:17:34 +02:00
justbur
b522bfe320 avy.el (avy-resume): Add
Holds last command avy command after user input. This is a quick way to
bring back the same markers after a jump.

Fixes #157
2016-06-20 21:40:05 +02:00
Oleh Krehel
05a5003c2b avy.el: Fix linum-related compile warnings 2016-06-18 08:22:14 +02:00
justbur
5515f28779 Allow using symbols instead of words in word cmds
* avy.el (avy-goto-word-0-regexp): Add symbol option
 * avy.el (avy-goto-word-1): Add symbol boundary optional arg
 * avy.el (avy-goto-symbol-1): Add
 * avy.el (avy-goto-symbol-1-above): Add
 * avy.el (avy-goto-symbol-1-below): Add
2016-06-17 20:16:08 -04:00
Oleh Krehel
4e4c488eef Add avy-linum-mode
* avy.el (avy--linum-strings): New defun.
(avy--linum-update-window): New defun. This is a copy-paste of
`linum-update-window' with just a few lines added.
(avy-linum-mode): New minor mode. Currently, only works with
`avy-all-windows' set to nil.
(avy--line): When `avy-linum-mode' is on, don't display
overlays. Instead, display a simple message.

Fixes #155
2016-06-13 22:53:06 +02:00
Oleh Krehel
430d75085f avy.el (avy--line-cands): Split away from avy--line
* avy.el (avy--line): Update.
2016-06-13 22:31:39 +02:00
Oleh Krehel
4dcf0a9a9a avy.el (avy-goto-char-2): Translate "RET" to "C-j"
Fixes #153
2016-06-01 07:58:16 +02:00
justbur
33af738ae7 avy.el (avy-goto-word-1-above): Add
avy.el (avy-goto-word-1-below): Add
2016-05-19 08:36:18 -04:00
Oleh Krehel
d644be1399 avy.el (avy-goto-char-2-above): Simplify
* avy.el (avy-goto-char-2): Add BEG and END.
(avy-goto-char-2-below): Simplify.
2016-05-18 08:39:11 +02:00
justbur
ba950a0ad5 avy.el (avy-goto-char-2-above): Add
avy.el (avy-goto-char-2-below): Add

These are versions of avy-goto-char-2 that are restricted to matches
before or after the point in the current window.

Fixes #148
2016-05-17 12:52:35 -04:00
Mark Triggs
58bc417c55 Escape regex metacharacters for standard isearch
Doing an isearch for '[' and then invoking avy-isearch would trigger an
error like:

     Invalid regexp: "Unmatched [ or [^"

If we are not doing a regex-based search, escape the search string to
avoid these kind of issues.
2016-05-15 15:15:51 +10:00
York Zhao
2e3c2f7c88 Add new command `avy-move-region'
Fixes #75
2016-05-13 07:52:33 +02:00
Junpeng Qiu
85a384a151 Add char at window start for avy-goto-subword-0 2016-05-03 22:01:06 -04:00
Oleh Krehel
53706d2ebf avy.el (avy-all-windows-alt): Change the default to nil
Fixes #144
2016-04-21 10:24:59 +02:00
Oleh Krehel
4c072be8e6 README.md (avy-goto-char-timer): Add entry
Re #143
2016-04-18 14:39:32 +02:00