Hi,

I know use '|' and combine two command,  but I don't know how to do
the combination when the first command is a external shell command
(prefixed by a '!').

For example, I want to define <F5> to run a shell command which
updates my cscope database and then run ':cs reset', I tried

nmap <F5> :!./recs-sh | :cs reset<CR>

but it failed.

Anyone can be kindly help?

-
narke

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

Reply via email to