How to Set VI or VIM Tab Space
By default, vi or vim editor tab space is 8 spaces. You can configure preferred space by the value below in .vimrc file
set tabstop=2
set shiftwidth=2
By default, vi or vim editor tab space is 8 spaces. You can configure preferred space by the value below in .vimrc file
set tabstop=2
set shiftwidth=2