so I've been learning vim the past few weeks and am having trouble with defining functions and the such.
e.g. every time I define I function in python I write:
typing in insert mode:
def foo(<cursor>) - note that a closing parenthesis will be added automatically
def foo(arg1, arg2<cursor>)
then I would have to
a to go into normal mode, move outside the closing paren, then append to add text, namely the colon and function definition.
Is there a faster way to do this? This process seems so tedious to me.