escape macher
check insert_mode in s:cursor_moved()