Some times in c codes it is difficult to find where the function ends, or where a brase ends. Vim has a easy way of navigating the code and finding errors if any easily.

Just press % from either the open brase (like { or ( or even #if) it takes you to its corresponding close brase (like } or ) or #end).

Similarly pressing % from close brase will take you to the corresponding open brase.

Share