How do I change the color of the line numbers displayed when the
“:set number” command is used? The line numbers displayed use the LineNr highlighting group. To display the current colors used, use
:hi LineNr
To change the color modify the LineNr highlight group. For example:
:hi linenr guifg=red guibg=black
This will give red numbers on a black background in GVIM.
Comments (1)
Pepsh Pepshinsky
Let’s see you to :help viminfo-file-name (option -i) :set viminfofile=NONE