Set tab width in vim

To set tab width in Vim, run

:set tabstop=4

To make it permanent, edit ~/.vimrc and add

set tabstop=4

back to vim

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *