我经常编辑带有超长行的文件。因此,我更喜欢 :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/