I'd like to abbreviate this:
<s
in insert mode to map to entering:
#+begin_src groovy
I've tried this:
iabbrev <s #+begin_src groovy
in my .vimrc, but it doesn't work, it gives "Invalid argument" when I start vim.
But, when I enter
:iabbrev <s #+begin_src groovy
on the command line, the abbreviation works.
What am I doing wrong?
Thanks,
--Nate
--
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