Vim(有或没有插件 - 我不在乎)是否完全支持删除线文本?我发现自己在其中保留了一个“待办事项”的运行列表,并且希望能够通过删除线文本“划掉”我已完成的项目。
谢谢!
最佳答案
如果你在终端下使用 Vim,不,你不能。
highlight arguments for normal terminals
*bold* *underline* *undercurl* *inverse* *italic* *standout*
term={attr-list} attr-list *highlight-term* E418 attr-list is a comma separated list (without spaces) of the following items (in any order): bold underline undercurl not always available reverse inverse same as reverse italic standout NONE no attributes used (used to reset it)
Note that "bold" can be used here and by using a bold font. They have the same effect. "undercurl" is a curly underline. When "undercurl" is not possible then "underline" is used. In general "undercurl" is only available in the GUI. The color is set with |highlight-guisp|. ~
但是,在 GUI 下,您可以这样做。下
'guifont'
,我们有以下内容:For the Win32 GUI *E244* *E245* - takes these options in the font name: hXX - height is XX (points, can be floating-point) wXX - width is XX (points, can be floating-point) b - bold i - italic u - underline s - strikeout cXX - character set XX. Valid charsets are: ANSI, ARABIC, BALTIC, CHINESEBIG5, DEFAULT, EASTEUROPE, GB2312, GREEK, HANGEUL, HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS, SYMBOL, THAI, TURKISH, VIETNAMESE ANSI and BALTIC. Normally you would use "cDEFAULT". Use a ':' to separate the options. - A '_' can be used in the place of a space, so you don't need to use backslashes to escape the spaces. - Examples: > :set guifont=courier_new:h12:w5:b:cRUSSIAN :set guifont=Andale_Mono:h7.5:w4.5
关于vim - vim中的删除文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8482898/