How do you yank an entire function body into a register?
Answer
"aVaBy
Explanation
Position cursor in a function, use VaB to visually select the block including braces, then "ay to yank into register a.
"aVaBy
Position cursor in a function, use VaB to visually select the block including braces, then "ay to yank into register a.