vim replace already typed tabs with spaces code example
Example: vim replace tabs with spaces
" Vi:
" To replace tabs with spaces whilst typing
set tabstop=4 shiftwidth=4 expandtab
" Vi:
" To replace tabs with spaces whilst typing
set tabstop=4 shiftwidth=4 expandtab