Originally posted by ICO
I want to configure the vi profile, so that the tab is 4 spaces, and it has some language syntax hilite etc, also want to be able to do more and more.
Where should I start with it?
Don't set your tab to 4 spaces or you'll screw up other programs' display, instead set the shiftwidth:
Use Ctl-T in insert mode to indent one "tab stop" and Ctl-D to "outdent". You can indent in command mode with ">>", prefix it with a count to indent that number of lines. "<<" outdents. If you mean vim, rather than vi there's a wealth of online help built-in; type :h vimrc in vim to get started.