Setting vim with press "tab" key as 4 spaces in VIM.
How to let vim to type "tab" as 4 spaces?
Add following setting in ~/.vimrc
Wish this helps.
regards,
Stanley Huang
Add following setting in ~/.vimrc
set smartindent
set tabstop=4
set shiftwidth=4
set expandtab Wish this helps.
regards,
Stanley Huang
Comments
Post a Comment