fix F5, ctrl+G in insert mode