On 09/12/08 08:40, Steven Woody wrote:
> On Tue, Dec 9, 2008 at 3:24 PM, Teemu Likonen<[EMAIL PROTECTED]>  wrote:
>> Gary Johnson (2008-12-08 23:12 -0800) wrote:
>>
>>> On 2008-12-09, Steven Woody wrote:
>>>> nmap<F5>  :!./recs-sh | :cs reset<CR>
>>>>
>>>> but it failed.
>>> The :execute command can help here.
>>>
>>>     nmap<F5>  :exe '!./recs-sh' | cs reset<CR>
>>>
>>> Note that the colon is needed only at the start of the command line,
>>> not in front of each command.
>> it's also possible to put<CR>  between the commands. Then the colon is
>> needed with the second command:
>>
>>     nmap<F5>  :!./recs-sh<CR>:cs reset<CR>
>>
>
> Thank you! It is a rescue.

Normally, the | character terminates the ":map" command. To use it in a 
{rhs}, use <Bar> instead.


Best regards,
Tony.
-- 
In case of injury notify your superior immediately.  He'll kiss it and
make it better.

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

Reply via email to