vimrc Configuration Guide
vimrc Configuration Guide
:set nu
Show line numbers: useful for debugging. :set ai
Auto-indent: if the previous line has two tab widths, pressing Enter keeps those two tab widths on the next line. :set cursorline
Cursor line: underline the current line to help locate the cursor. :set bg=light
Color scheme for light backgrounds. The default assumes a light background (white, etc), but if your terminal background is dark purple, text may disappear (for example, comments in dark blue). Change this to :set bg=dark. :set tabstop=4