Using cmder under win7, how to set vim tab to 4 spaces?

  question, vim

Cmder is installed under win7, vim can be used happily, but tab indent seems to be 8 spaces.
How to set it to 4 spaces?

Try atvimrcAdd these lines:

"Show 4 spaces for all tab
 set tabstop=4
 "pressing the < TAB > key is equivalent to entering 4 spaces
 set expandtab

This line is optional and has nothing to do with the tab you asked, but my personal suggestion is to add:

"when using < or > to adjust the indent, indent four spaces
 set shiftwidth=4