David Shen wrote:

> Hi,
>
> when searching long terms in text, is to possible to select the text
> in visual, and invoke a search against the selected text? this would
> be a really convenient search feature.

It is possible:

- select text in visual mode
- press   y   to yank visual selection
- press   /   to search
- press   CTRL-R"   to insert the content of last yanked text (unnamed register)

See :help c_CTRL-R

-- Dominique

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

Reply via email to