Setting vim to tab space two spaces at a time

  1. vim ~/.vimrc

2.

:set expandtab :set tabstop=2 :set shiftwidth=2