Is it possible to yank an entire block of Python code in Vim? Be it a
def
for
if
You can yank a paragraph with y}. This will not yank all the methods if you have a blank line though.
y}