In Vi, if I am in the middle of a function, how can I navigate back to the function declaration?
I'd typically use
If I'm using C and ctags, then
At the risk of stating the obvious, this may depend on the language and the coding style. If the code is in C or C++ and the programmer followed the convention of beginning functions as
(or even with the return type on the same line as the function name), and then indenting all internal blocks, you could do a
Even if the convention is
(consistently) you could search for