How do I jump to the start of the previous method or function in code?
[m
The [m motion jumps backward to the start of the nearest enclosing or preceding method definition.
[m
The [m motion jumps backward to the start of the nearest enclosing or preceding method definition.
]] / [[
The ]] and [[ commands let you jump forward and backward between section boundaries, which in most programming languages correspond to function or method defini
navigation #navigation #motions #normal-mode #code #functions
di(
The di( command deletes everything inside the nearest pair of parentheses without removing the parentheses themselves.