The configuration of C indenting in Vim is controlled by the
cinoptions option. That particular aspect of indenting is controlled by the
l (lower-case L) flag. When set to any value other than 1, it will "align with a case label instead of the statement after it in the same line."
So, you can get the indenting style you want by putting this in your
~/.vimrc on Unix or
~/_vimrc on Windows:
Those topics are ordered roughly from particular to general aspects of C indenting.
You can find out more about auto-format here:
although I don't think that's what you mean by "auto format".
} are called braces. Brackets are the more squarish