fix window move key in comint mode & fix keymap in ruby mode