On 2019-05-06, Anand Hariharan wrote:
> 
> On Mon, May 6, 2019 at 1:05 PM Gary Johnson wrote:
> > On 2019-05-06, Mathieu Roux wrote:
> > >
> > > Great! it seems to work...!
> > > Maybe you also know how i can search one whole lign with vim?
> > > Of course, i can use visual mode to select the lign, and then press *,
> > > but is there one faster solution?
> >
> > For that, I usually do
> >
> >     0v$*
> >
> 
> The key sequence of 0v$ could be replaced with just V.

You're right.  I'm careful about the difference between Y and 0y$
(the former includes the end-of-line while the latter does not) and
assumed that V and 0v$ differed the same way.  They do not.

> That said, I do not think an * over a visual selection would search for the
> entire visual selection.

You're right again.  I've been using my remappings of the *, # and
g* commands for so long that I forgot about all the differences
between them and the originals.

Thanks for the corrections.  Sorry for sowing confusion.

Regards,
Gary

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to