VIM tab configuration

less than 1 minute read

Published:

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:


set expandtab
set smartindent
set tabstop=4
set softtabstop=4
set shiftwidth=4