Thanks John.
I used other solution. Instead of working on the register, I manually
extracted the content using the two marks `< and `>.


On Wed, Dec 9, 2009 at 4:59 PM, John Beckett <[email protected]>wrote:

> anna wrote:
> > Is there a way to get the content of highlighted area in visual mode?
> > I want to create a mapping in visual mode, which use the
> > content of highlighted area as the parameter.
>
> You have to use y to yank the text, then work on the unnamed
> register (@" aka @@).
>
> There's an example here:
> http://vim.wikia.com/wiki/Search_for_visually_selected_text
>
> John
>
> --
> You received this message from the "vim_use" maillist.
> For more information, visit http://www.vim.org/maillist.php

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

Reply via email to