A convenient text object for last pasted text.
By default it creates the following mapping:
gb
To change it, modify the g:pastedtext_select_key variable. For example:
let g:pastedtext_select_key = 'p'
That said, you can use it as if it were any other vim text object. Here are a couple of examples:
vgbSelect last pasted text.=gbRe-indent last pasted text.dgbDelete last pasted text.gcgbComment last pasted text (requires vim-commentary plugin.)
You can contribute reporting bugs and/or submitting pull requests.