有没有办法在vim中更换分区后的分隔符?

har*_*ski 5 vim configuration

当我'在vim中设置数字'时,每一行都有一个行号,后跟一个空格,后跟该行的内容.有没有办法用其他东西取代空间?例如'|' 或者几个额外的空间会整洁,不是吗?

DrA*_*rAl 11

Unfortunately, this is not possible. The line number is printed in Vim's screen.c, line 2322:

sprintf((char *)buf, "%*ld ", w, num);
Run Code Online (Sandbox Code Playgroud)

(w is the width and num is the line number). The only way you could change this would be to edit the source code and recompile Vim.