On Mon, Feb 15, 2010 at 2:26 PM, Ben Schmidt
<mail_ben_schm...@yahoo.com.au>wrote:

>         cmap <silent><script> <CR> <CR>:let s:project_command=@: | cunmap
>>        <script> <CR><CR>
>>
>
> And you're going to need <lt>, too, to avoid that <CR> that you actually
> want typed on the commandline in the mapping. Something like
>
> cmap <silent><script> <CR> <CR>:let <SID>project_command=@: <Bar>
> cunmap <script> <lt>CR><CR>
>
> unless you need that accessor function or other punctuation to make the
> SID thing work (see previous email)....
>

Another one:
475: Invalid argument: <SNR>1_project_command=@: | cunmap <script> <CR>

Now I'm confused where else I should use <SID> instead of s: or it's not the
case?

--
Aarto

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

Reply via email to