Monday, February 1, 2016

Re: 'f','t','F','T' til word/regex instead of char

On Tue, Feb 02, 2016, Meino.Cramer@gmx.de wrote:
>
> Hi,
>
> with the movements f,F,t,T one can determine a certain point in a
> line, at which a movement of the cursor should end.
> This point is given by a single character.
>
> Is it possible to specifiy a regex or string instead of a single
> character for the same purpose without makeing a akademic adventure
> from it ? :) :)) ;)))
>
> (or am I a little blinded by the bright light of vim? :)

You can use /foo as a motion; the motion will be taken up to just before
the start of the matched text. ?foo as a motion goes backward to the
beginning of the matched text. I wish there were ways to duplicate the
tT/fF distinction in those cases.

--
Eric Christopherson

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: