# Be 8 bit clean. set input-meta on set output-meta on # Allow 8-bit characters to be input because we like that set convert-meta off # We're only modifying the emacs mode $if mode=emacs "\e[1~": beginning-of-line "\e[4~": end-of-line # allow the use of the Delete/Insert keys "\e[3~": delete-char "\e[2~": quoted-insert # alternate mappings for "page up" and "page down" to search the history "\e[5~": history-search-backward "\e[6~": history-search-forward # # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\e[5C": forward-word "\e[5D": backward-word # uxterm and xterm mappings for Ctrl-left-arrow and Ctrl-right-arrow "\e[1;5C": forward-word "\e[1;5D": backward-word # allow the use of the Home/End keys "\eOH": beginning-of-line "\eOF": end-of-line $endif