I'm looking for something like [[
(or []
, ]]
, ][
) that works with non-top-level function definitions instead of the next line with a top-level class or function definition on the first character.
class Foo():
def __init__(self):
pass
def baz(self): #jump from here...
pass
def box(self): #... to here without searching or...
pass
biz = 123
def bar(): #... without going straight here
pass
It seems like, by default, vim ignores variable definitions and other things that start on the first character of a line, but when I'm looking through class methods, my only recourse is to search for def XYZ
.