vim - vim中的删除文本?

标签 vim vi macvim

Vim(有或没有插件 - 我不在乎)是否完全支持删除线文本?我发现自己在其中保留了一个“待办事项”的运行列表,并且希望能够通过删除线文本“划掉”我已完成的项目。

谢谢!

最佳答案

如果你在终端下使用 Vim,不,你不能。

  1. 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/

相关文章:

vim - 移动 vim 文件位置会破坏 snipmate.vim?

vim - TeX 文件的 VIM 中的多行注释语法着色

linux - 如何在 Linux 中替换批处理文件的字母

vim - vim 与其他程序的接口(interface)

linux - 尝试在具有多个站点的服务器上编辑 crontab

emacs - 如何在标记区域内定义键绑定(bind)

vim - 在新的(GUI)窗口中打开 vim 选项卡?

vim - 如何在 MacVim 的 'file changed' 弹出窗口中的按钮之间切换焦点

python - 使用 Python 和 MacVim 突出显示部分语法

VIM:检查文件是否在当前选项卡中打开? window ? (并激活它)