* Paolo Bolzoni <paolo.bolzoni.br...@gmail.com> [2013-11-15 23:31]:
> Dear list, seldom I need to search specific part of text
> that are not simply the current word (where * is handy).
> And I instinctively select the part visually, only to
> notice I do not know how to search for it in the whole text.
>
> Example, assuming the caret is on the
> beginning of the sequence I want to seek,
> I tend to do: vwwe and I am stuck.
> Is there a way to search for what I have selected?

dunno.  your example does not show anything.

but if you simply want to search for
what you have previously copied then,
the procedure, in short, is this:

    select, yank, /<c-r>"

so select whatever, type 'y' to copy it
to the default register, then start
searching with '/' and use 'CTRL-R' and '"'
to recall/insert the contents from the
default register into the search input.
and type ENTER to start searching. ;-)

see also:  :help i_CTRL-R

Sven

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to