vim set tabs to 4 spaces code example
Example 1: linux vim set tab to 4 spaces
set tabstop=4
Example 2: linux vim set tab to 4 spaces
set ts=4 sw=4
Example 3: linux vim set tab to 4 spaces
syntax enable
set tabstop=4
set ts=4 sw=4
syntax enable