For some time, I used tabstop = 4 in my source files. Now when I write a lot of javascript with deep recesses, the tabstop of 4 seems wasteful, so I want to convert it to 2. The problem is that I also use "set expandtab". So just setting tabstop = 2 will not help.
Any suggestions on how to quickly convert all my files to tabstop 2?
My current relevant .vimrc options
set tabstop=4
set shiftwidth=4
set expandtab
source
share