On Jul 15, 11:11 am, Gary Johnson <[email protected]> wrote:
> 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

it works if register contents are small. but if the register contents
are huge,
spanning multiple lines t might not work.

thanks

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