kuru wrote:
Hi
I have a command like this
":command MYGREP grep -ir --color ./*"
I want to be able to inject a variable to this command. So I want to
use like "MYGREP position". But I want the position to appear in
right place. So when it is extended it would be a proper grep command
"grep -ir --color position ./*"
Is it possible to do with "commands"?
Some suggestions for reading:
:help :command
:help <args>
:help :command-nargs
Regards,
Chip Campbell
--
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