Pasting in insert mode is an insert edit

Fixes #1294.

Was just in this code so it was easy to find!