vim question

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Bart Garst
Fecha:  
Asunto: vim question
Is there a way to automatically 'fix' tabs?

My problem is I have a function I'm modifying (C++), I need to wrap some
code in an if statement. Once I add the if and it's braces the following
lines need to be indented.

Emacs has a menu with 'indent line or region' that does this. Does vim
have something similar?

Thx,
Bart