.vimperatorrc-Konfiguration enth?lt:
ab aaa a\nb\nc
Ich m?chte folgende Effekte erzielen
a
b
c
Aber der eigentliche Effekt ist
a\nb\nc
Bitten Sie um Rat
:iab aaa a<CR>b<CR>c
不建議在命令行模式使用帶回車的擴展,所以用:iab
僅支持插入模式
另外,建議使用 snippets 之類的插件來擴展文本
https://github.com/garbas/vim...
https://github.com/SirVer/ult...
https://github.com/drmingdrme...