vim - 使用 nowrap 选项,如何使超长的线条在视觉上可识别?

标签 vim

我经常编辑带有超长行的文件。因此,我更喜欢 :set nowrap 以在视觉上更好地保留结构。但是使用 nowrap,我担心看不到对我编辑的任何内容都至关重要的部分(或者更糟的是,可能会显着改变含义)。

有没有什么方法可以突出未包裹的超长线条(我没有从帮助中找到任何东西)?

最佳答案

查看listchars 的帮助:

extends:c Character to show in the last column, when 'wrap' is
          off and the line continues beyond the right of the
          screen.

关于vim - 使用 nowrap 选项,如何使超长的线条在视觉上可识别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9008897/

相关文章:

vim:选择里面的点

vim - 新窗口中的 nerdtree textwidth

vim - GVIM : auto scroll of a global command

vim - 暂时禁用foldclose=all

vim - 如何停止这些 Vim 错误?

关于默认命令超时的 Vim 行为

vim - 仅在 VIM 中搜索和替换特定位置

VIM:有没有办法让 vim 在删除文本时不复制

vim:带有确认键的映射命令

regex - 如何让 Vim 突出显示非 ascii 字符?