我在 vim 中打开了标尺,但列值是由连字符分隔的两个数字。例如 1-8。
vim 中的连字符列值到底是什么意思?
看一眼:h ruler
相关部分复制如下
If the number of characters displayed is different from the number of
bytes in the text (e.g., for a TAB or a multi-byte character), both
the text column (byte number) and the screen column are shown,
separated with a dash.
的解释1,1-8
第一个 1 表示光标位于第 1 行。1-8 表示您的光标位于第一个文本列(即字符串中的第一个字符)并且它是第 8 个可视列。因此,我们可以得出结论,您的光标位于您的制表位和 shiftwidth 设置为 8 的选项卡上。