Setting tab stops
By default, vi sets tab stops every 8 spaces. For example,
if you begin a paragraph by typing a tab, the tab moves the cursor
over 8 spaces. Many people feel 8 spaces are too many for a tab stop.
You can set tab stops of 5 spaces with:
:set tabstop=5
Similar
commands can set tab stops to any number of spaces.