如何使我的缩写发挥作用
我的 .vimrc 中有这个,它可以正常工作
iab abbash
\#!bin/bash
\<CR>###############################################################################
\<CR>#
\<CR># File:
\<CR>#
\<CR># Date:
\<CR>#
\<CR># Description:
\<CR>#
\<CR># Syntax:
\<CR>#
\<CR># Author:
\<CR>#
\<CR># Copyright (c)
\<CR>#
\############################################################################
"
,我也想有这个,但它不起作用:
iab nyn
\Indsæt dato
\<CR>---------------------------------------------------------------------------------
\<CR>Ny Note
\---------------------------------------------------------------------------------
"
我似乎不清楚有什么不同?
这里出了什么问题?
I have this in my .vimrc, which work correctly
iab abbash
\#!bin/bash
\<CR>###############################################################################
\<CR>#
\<CR># File:
\<CR>#
\<CR># Date:
\<CR>#
\<CR># Description:
\<CR>#
\<CR># Syntax:
\<CR>#
\<CR># Author:
\<CR>#
\<CR># Copyright (c)
\<CR>#
\############################################################################
"
and I want to have this as well, but it doesn't work:
iab nyn
\Indsæt dato
\<CR>---------------------------------------------------------------------------------
\<CR>Ny Note
\---------------------------------------------------------------------------------
"
It doesn't seem clear to me what the different is ??
What is wrong here ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只是尝试将它们放入 .vim 文件中,获取它,然后......它们都可以工作。
尝试将它们放入单独的 .vim 文件中,然后获取它。从那里去...
Just tried putting them into a .vim file, sourced it, and ... they both work.
Try putting them into a separate .vim file and then sourcing it. Go from there ...