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

Reply via email to