How to select the last inserted text in vim

You can use

v`[

to select the last insert if you are still at the correct cursor position.

`[

jumps to the beginning of your last insert,

`]

jumps to the end of the last insert respectively. So to be independent of your current cursor position, you'd type

`[v`]~

to toggle the capitalization of your last insert.