3 deleted 3 characters in body
source | link

Add thisthese lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

If you don't want to use retab, you can use perl to replace each tab by 4 spaces:

perl -i.bak -pe 's/\t/    /g' file

Add this lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

If you don't want to use retab, you can use perl to replace each tab by 4 spaces:

perl -i.bak -pe 's/\t/    /g' file

Add these lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

If you don't want to use retab, you can use perl to replace each tab by 4 spaces:

perl -i.bak -pe 's/\t/    /g' file
2 added 131 characters in body
source | link

Add this lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

If you don't want to use retab, you can use perl to replace each tab by 4 spaces:

perl -i.bak -pe 's/\t/    /g' file

Add this lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

Add this lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.

If you don't want to use retab, you can use perl to replace each tab by 4 spaces:

perl -i.bak -pe 's/\t/    /g' file
1
source | link

Add this lines to your .vimrc:

set tabstop=4
set shiftwidth=4
set expandtab

After that, each the new tab character entered will be changed to 4 spaces, old tabs don't. You must type:

:retab

This will convert all existing tabs in files to spaces.