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.

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind