syntax on
set nu
set ts=4
set sw=4
set sts=4
set autoindent
set smartindent
set expandtab
set smarttab
It willset nu
set ts=4
set sw=4
set sts=4
set autoindent
set smartindent
set expandtab
set smarttab
- Display the line number.
- Set tab stop to 4.
- Enable you to use < and > to indent or unindent a block in visual mode.
- Insert spaces instead of tab, when pressing the tab button.