Setting the Tabstops in VI


Summary

I use tabstops every 4 characters. VI defaults to 8. This is how to change it.


Detail

Edit /root/.exrc (or whereever the home directory is for the current user)

add set tabstop=4