I would like to convert tab to spaces in gVim. I added the following line to my _vimrc:
_vimrc
set tabstop=2
It works to stop at two
This worked for me:
you can see tabs with first doing this:
:set list
then to make it possible to replace tabs then do this:
:set expandtab
then
:retab
now all tabs have been replaced with spaces you can then go back to normal viewing like this :
:set nolist