Sunday, November 6, 2011

Abbreviation with an @

I would like to create an abbreviation like the following:

    :iabbrev @author @author Author Name

But when I attempt this I get the error 'E474: Invalid argument'.

This works fine though:

    :iabbrev @ @author Author Name

Can anyone tell me the right way to write this abbreviation command without changing the left hand side to something other than @author?

Thanks,
Quincy

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