# /etc/inputrc - global inputrc for libreadline # See readline(3readline) and `info rluserman' for more information. set meta-flag on set input-meta on set convert-meta off set output-meta on # some defaults / modifications for the emacs mode $if mode=emacs # allow the use of the Home/End keys "\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 # mappings for "page up" and "page down" to step to the beginning/end # of the history # "\e[5~": beginning-of-history # "\e[6~": end-of-history # alternate mappings for "page up" and "page down" to search the history "\e[5~": history-search-backward "\e[6~": history-search-forward # keypad mapping "\M-u": backward-word "\M-p": forward-word "\M-i": beginning-of-line "\M-o": end-of-line "\M-j": backward-char "\M-;": forward-char "\M-k": previous-history "\M-l": next-history "\M-m": history-search-backward "\M-/": history-search-forward # ??? # "\M-\b": backward-kill-word # "\M-\d": kill-word $endif