feature: change insertWhenPaste into pasteMode