When I ':set number' in vim, each line has a line number followed by a space followed by the content of that line. Is there a way to replace the space with someth开发者_如何学Cing else? For example a '|' or a couple of extra spaces would be neat, wouldn't it?
Unfortunately, this is not possible. The line number is printed in Vim's screen.c, line 2322:
sprintf((char *)buf, "%*ld ", w, num);
(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.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论