[vim] clear input state after search and ex commands

without this pressing / and then Esc doesn't clear status line
[vim] cleanup
[vim] handleKeys should return true after jk in insert mode
[vim] do not throw when entering insert mode
[vim] fix typeError when pressing wrong key in substitute confirm