【发布时间】:2014-06-01 12:35:03
【问题描述】:
通过几个指南来设置一些简单的 Vim 缩写。我快到了,我似乎找不到如何结束 IN 插入模式。
我有什么:
iab cl console.log()<Esc>F%s<c-o>:call getchar()<CR><Left><Left>
会发生什么:
cl expands to console.log() and the cursor is placed over )
我想要发生的事情:
Same thing except I want to enter insert mode.
我尝试过的:
After <Left> I've tried: <Insert>, i, and <Ins> with no luck.
【问题讨论】:
-
我对@987654326@ 部分感到困惑。这应该是做什么的?
-
你应该使用像 snipmate 或 ultisnips 这样的 sn-p 插件。
标签: vim abbreviation