Tuesday, January 5, 2010

Re: Finding previous space or tab

On 5 jan, 15:56, Ben Fritz <fritzophre...@gmail.com> wrote:
> On Jan 4, 11:31 am, epanda <callingel...@hotmail.fr> wrote:
>
> > Hi,
>
> > I am in visual selection and encouter a problem finding the previous
> > tab or space
>
> > norm vF y
>
> > My aim is to visual select a word and then copy it.
>
> You already have the better way to accomplish your task (using one of
> the word text objects, :help text-objects) however in general ":normal
> vF " ought to work to select text from the cursor up to and including
> the previous space. What was it doing instead?

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.
Thanks

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: