I often use da{dd
to delete a whole block of code.
if a block of code is within paragraph, dap
works really nicely.
I tried some function text objects plugins for Javascript but didn't have much success.
Any way of making this work like a text object?
noremap dac da{dd
di{
enough?