我是一个铁杆 VIM 用户。但是,我想知道是否可以将 VIM 配置为像 Nano 一样提供单行处理。想象以下文本文件:
1 This is a short line
2 This is a much much much much much much much (...) much longer line
当我在 VIM 中打开它,并且想到达第二行的末尾时,它会显示如下(其中 ■ 是光标所在的位置):
1 ort line
2 ch much much much much much much (...) much longer line■
当我在 Nano 中打开并导航到第二行的末尾时,只有该特定行显示为“移位”,如下所示:
1 This is a short line
2 >h much much much much much much (...) much longer line■
我也可以用 VIM 做到这一点吗?