Home  >  Q&A  >  body text

How does vimperator use abbreviate abbreviation to return a carriage string?

.vimperatorrc configuration contains:

ab aaa a\nb\nc

I want to achieve the following effects

a
b
c

But the actual effect is

a\nb\nc

consult

漂亮男人漂亮男人2712 days ago674

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 16:36:38

    :iab aaa a<CR>b<CR>c
    不建议在命令行模式使用带回车的扩展,所以用:iab Only supports insert mode

    Also, it is recommended to use plug-ins like snippets to expand text

    • https://github.com/garbas/vim...

    • https://github.com/SirVer/ult...

    • https://github.com/drmingdrme...

    reply
    0
  • Cancelreply