Skip to content

Indentation

Andrea Marini edited this page Jun 2, 2016 · 2 revisions

If you want to reindent in vim:

  • Redindent all gg=G
  • Line: ==, or in insert mode CTRL-F
// Local Variables:
// mode:c++
// indent-tabs-mode:nil
// tab-width:4
// c-basic-offset:4
// End:
// vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 
Clone this wiki locally