You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to move the pointer to right after a targeted word.
So, in order to explain this a bit more thoroughly: I look at a character of the word I want to jump to and invoke avy. I then type that character and type the key-combo to get there. Then avy automatically jumps to that character and moves the pointer behind that word.
I would like to have this behavior by default.
I'm a supernoob in emacs, so I can't figure out how to do it.
I figured that I would only have to add (forward-sexp) or (forward-word) to avy-action-goto like this:
but this doesn't have any effect. So I figured I need to include a new move like this:
;;;###autoload
(defun avy-goto-char_after_word (char &optional arg)
"Jump to the end of the visible word containing CHAR.
The window scope is determined by 'avy-all-windows' (ARG negates it)."
...
...
then, I could define this as avy's default behavior, right?
But what else needs to be done?
I don't know if the information is necessary, but I use avy with ace-isearch.
Thanks for your help!
The text was updated successfully, but these errors were encountered:
Hi,
I want to move the pointer to right after a targeted word.
So, in order to explain this a bit more thoroughly: I look at a character of the word I want to jump to and invoke avy. I then type that character and type the key-combo to get there. Then avy automatically jumps to that character and moves the pointer behind that word.
I would like to have this behavior by default.
I'm a supernoob in emacs, so I can't figure out how to do it.
I figured that I would only have to add
(forward-sexp)
or(forward-word)
to avy-action-goto like this:but this doesn't have any effect. So I figured I need to include a new move like this:
then, I could define this as avy's default behavior, right?
But what else needs to be done?
I don't know if the information is necessary, but I use avy with ace-isearch.
Thanks for your help!
The text was updated successfully, but these errors were encountered: