VIM tab configuration

Motivation: I like to edit files using VIM. In my server (Bluehost) the default configuration makes my ‘tab’ to produce really width spaces and I want it to be the size of 4 spaces.
Solution: I edited a file .vimrc and I placed in my home directory in my server. The content of this file is the following:

1
2
3
4
5
set expandtab
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4

One thought on “VIM tab configuration

Leave a Reply

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

*