Monday, November 22, 2010

iab +

I am trying to set an iab with two characters after <leader>, for example:

iab <leader>lp blah blah blah

However, this results in E474: Invalid argument. It works with just one character after the <leader>:

iab <leader>l blah blah blah

To use <leader>lp, I have to use imap instead of iab:

imap <leader>lp blah blah blah

Is this something I am doing incorrectly, or an undocumented (I didn't find mention of it) 'feature' of iab?

Vim 7.3.

--

.

--
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

No comments:

Post a Comment