Try the following keystrokes:
gg=G
Explanation: gg
goes to the top of the file, =
is a command to fix the indentation and G
tells it to perform the operation to the end of the file.
More Related Contents:
- What is the "–>" operator in C/C++?
- Indenting #defines
- How do I run a C program from VIM?
- optimized sum of an array of doubles in C [duplicate]
- How to get all possible combination of 2xn matrix [closed]
- How to resolve a variable for char length? [closed]
- MIPS program that implements the same algorithm in C
- How to achieve function overloading in C?
- How to correctly use the extern keyword in C
- ‘float’ vs. ‘double’ precision
- Are parallel calls to send/recv on the same socket valid?
- Post-increment on a dereferenced pointer?
- What is the use of _start() in C?
- How should I print types like off_t and size_t?
- How Recursion works in C
- Does either ANSI C or ISO C specify what -5 % 10 should be?
- Enumerate factors of a number directly in ascending order without sorting?
- difference between int* i and int *i
- How to use “zd” specifier with `printf()`?
- Why can’t I create an array with size determined by a global variable?
- In C, given a variable list of arguments, how to build a function call using them?
- How do C compilers implement functions that return large structures?
- Why can’t the size of a static array be made variable?
- Difference between “pointer to int” and “pointer to array of ints”
- Why is strtok causing a segmentation fault?
- How do I make an infinite empty loop that won’t be optimized away?
- Adding Unicode/UTF8 chars to a ncurses display in C
- library not found for -lrt with QtCreator [mac os]
- working of fork in c language [closed]
- How do I get the file HANDLE from the fopen FILE structure?