set editing-mode vi set keymap vi-command "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char "\e[D": backward-char