To enable syntax hi lightening
:syntax enable
enable line number
:set number
Indentation
:set autoindent
you can make a file ~/.exrc with these commands so that every time vi starts you don't have to re enter the commands
my exrc contents are ..
------------------------------
:set number
:set autoindent
:syntax enable
------------------------------
No comments:
Post a Comment