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
If you want to keep your \t equal to 8 spaces then consider setting:
\t
set softtabstop=2 tabstop=8 shiftwidth=2
This will give you two spaces per press, but actual \t in your code will still be viewed as 8 characters.