Hi, Paul wrote: > 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?
see ":help abbreviations". As your <leader> is probably not a keyword character, your abbreviation is of type end-id, thus it can only have exactly one trailing keyword charcter. Regards, Jürgen -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) -- 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
