COMPUTER SCIENCE/LINUX
[Linux] vim에서 tab indentation을 space 4개로 변경
heehehe
2020. 10. 21. 12:59
[임시 설정 - vim 켠 상태에서]
:set smartindent
:set tabstop=4
:set expandtab
:set shiftwidth=4
[영구 설정 - ~/.vimrc에 추가]
set smartindent
set tabstop=4
set expandtab
set shiftwidth=4
참고자료 : https://www.lesstif.com/system-admin/vim-tab-space-4-18220149.html
반응형