On 2011-07-15, sinbad wrote:
> hi,
> 
> how to pass vim register contents to shell command.

See

    :help c_CTRL-R

For example, to insert the contents of the a regsiter to a grep
command to search for that string in all files in the current
directory, you would type

    :!grep "^Ra" *

where everything is typed literally except ^R which means to hold
the Ctrl key while hitting the R key.

Regards,
Gary

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

Reply via email to