Inspired by this url. From this page, the input.rc file is used to map the keyboard to specific situations. "\e[A": history-search-backward "\e[B": history-search-forward "\e[C": forward-char "\e[D": backward-char