Trying to make an abbreviation using
    iabbrev <sc test
    iabbrev <lt>sc test
    iabbrev \<sc test
    iabbrev <lt><Char-115>c test
    iabbrev <script> <lt>sc test
    set cpoptions-=<
    iabbrev <sc test
    iabbrev <script> <sc test
    iabbrev <special> <lt>sc test
Results in
    E474: Invalid argument
at least on empty file. Strange, but it succeeds if I open a help window and 
define this abbreviation while being in it, though this abbreviation works only 
in help window.

Tested on vim-7.2.303, vim-7.2.444, vim-7.3a. Behavior in help window tested 
only on vim-7.2.303.

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui