Wednesday, January 6, 2010

Re: Finding previous space or tab

On Jan 5, 9:33 am, epanda <callingel...@hotmail.fr> wrote:
> eg : cursor is on (
>
> void\tfoo:bar (
> void foo:bar (
>
> 'norm hvF '   works only in case 2, I would like the same command to
> work on both cases.

Oh, so it would fail when non-space whitespace was the word separator.
Then, how about ":norm vb" or ":norm v?\s"? Of course, if all you want
is to select a full word, the best would be using <cword> or <cWORD>
or the iw text object the iW text object.

No comments: