Monday, May 6, 2019

Re: searching one word containing # with touch *



On Mon, May 6, 2019 at 1:05 PM Gary Johnson <garyjohn@spocom.com> 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.

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

best,
- Anand

--
--
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: