etc.bash.inputrc revision 110
110N/A#
110N/A# This file contains an example of default key binding that can be made for
110N/A# bash(1) users on this system. To make these settings the default for system
110N/A# users, you will need to copy it to /etc/bash/inputrc
110N/A#
110N/A
110N/Aset meta-flag on
110N/Aset input-meta on
110N/Aset convert-meta off
110N/Aset output-meta on
110N/A
110N/A$if mode=vi
110N/A set editing-mode vi
110N/A set keymap vi
110N/A$endif
110N/A
110N/A$if mode=emacs
110N/A $if term=xterm
110N/A "\e\eOD": backward-word
110N/A "\e\eOC": forward-word
110N/A "\e\eOA": up-history
110N/A "\e\eOB": down-history
110N/A "\C-\eOD": backward-char
110N/A "\C-\eOC": forward-char
110N/A "\C-\eOA": up-history
110N/A "\C-\eOB": down-history
110N/A $endif
110N/A "\e\e[D": backward-word
110N/A "\e\e[C": forward-word
110N/A "\e\e[A": up-history
110N/A "\e\e[B": down-history
110N/A "\C-\e[D": backward-char
110N/A "\C-\e[C": forward-char
110N/A "\C-\e[A": up-history
110N/A "\C-\e[B": down-history
110N/A$endif
110N/A
110N/A"\e[1~": beginning-of-line
110N/A"\e[2~": yank
110N/A"\e[3~": delete-char
110N/A"\e[4~": end-of-line
110N/A"\e[5~": history-search-backward
110N/A"\e[6~": history-search-forward
110N/A"\e[C": forward-char
110N/A"\e[D": backward-char
110N/A"\e[A": previous-history
110N/A"\e[B": next-history
110N/A"\C-?": backward-delete-char
110N/A"\C-H": backward-delete-char
110N/A
110N/A$if term=xterm
110N/A "\e[2;2~": yank
110N/A "\e[3;2~": delete-char
110N/A "\e[5;2~": history-search-backward
110N/A "\e[6;2~": history-search-forward
110N/A "\e[2;3~": yank
110N/A "\e[3;3~": delete-char
110N/A "\e[5;3~": history-search-backward
110N/A "\e[6;3~": history-search-forward
110N/A "\e[2;4~": yank
110N/A "\e[3;4~": delete-char
110N/A "\e[5;4~": history-search-backward
110N/A "\e[6;4~": history-search-forward
110N/A "\e[2;5~": yank
110N/A "\e[3;5~": delete-char
110N/A "\e[5;5~": history-search-backward
110N/A "\e[6;5~": history-search-forward
110N/A "\e[2;6~": yank
110N/A "\e[3;6~": delete-char
110N/A "\e[5;6~": history-search-backward
110N/A "\e[6;6~": history-search-forward
110N/A "\e[2;7~": yank
110N/A "\e[3;7~": delete-char
110N/A "\e[5;7~": history-search-backward
110N/A "\e[6;7~": history-search-forward
110N/A "\e[2;8~": yank
110N/A "\e[3;8~": delete-char
110N/A "\e[5;8~": history-search-backward
110N/A "\e[6;8~": history-search-forward
110N/A "\e[E": re-read-init-file
110N/A "\e[1;2E": re-read-init-file
110N/A "\e[1;3E": re-read-init-file
110N/A "\e[1;4E": re-read-init-file
110N/A "\e[1;5E": re-read-init-file
110N/A "\e[1;6E": re-read-init-file
110N/A "\e[1;7E": re-read-init-file
110N/A "\e[1;8E": re-read-init-file
110N/A "\e[2C": forward-word
110N/A "\e[2D": backward-word
110N/A "\e[2A": history-search-backward
110N/A "\e[2B": history-search-forward
110N/A "\e[1;2C": forward-word
110N/A "\e[1;2D": backward-word
110N/A "\e[1;2A": history-search-backward
110N/A "\e[1;2B": history-search-forward
110N/A "\e[1;3C": forward-word
110N/A "\e[1;3D": backward-word
110N/A "\e[1;3A": history-search-backward
110N/A "\e[1;3B": history-search-forward
110N/A "\e[1;4C": forward-word
110N/A "\e[1;4D": backward-word
110N/A "\e[1;4A": history-search-backward
110N/A "\e[1;4B": history-search-forward
110N/A "\e[5C": forward-word
110N/A "\e[5D": backward-word
110N/A "\e[5A": history-search-backward
110N/A "\e[5B": history-search-forward
110N/A "\e[1;5C": forward-word
110N/A "\e[1;5D": backward-word
110N/A "\e[1;5A": history-search-backward
110N/A "\e[1;5B": history-search-forward
110N/A "\e[1;6C": forward-word
110N/A "\e[1;6D": backward-word
110N/A "\e[1;6A": history-search-backward
110N/A "\e[1;6B": history-search-forward
110N/A "\e[1;7C": forward-word
110N/A "\e[1;7D": backward-word
110N/A "\e[1;7A": history-search-backward
110N/A "\e[1;7B": history-search-forward
110N/A "\e[1;8C": forward-word
110N/A "\e[1;8D": backward-word
110N/A "\e[1;8A": history-search-backward
110N/A "\e[1;8B": history-search-forward
110N/A "\e[1~": history-search-backward
110N/A "\e[4~": set-mark
110N/A "\e[H": beginning-of-line
110N/A "\e[F": end-of-line
110N/A "\e[1;2H": beginning-of-line
110N/A "\e[1;2F": end-of-line
110N/A "\e[1;3H": beginning-of-line
110N/A "\e[1;3F": end-of-line
110N/A "\e[1;4H": beginning-of-line
110N/A "\e[1;4F": end-of-line
110N/A "\e[1;5H": beginning-of-line
110N/A "\e[1;5F": end-of-line
110N/A "\e[1;6H": beginning-of-line
110N/A "\e[1;6F": end-of-line
110N/A "\e[1;7H": beginning-of-line
110N/A "\e[1;7F": end-of-line
110N/A "\e[1;8H": beginning-of-line
110N/A "\e[1;8F": end-of-line
110N/A "\e[2H": beginning-of-line
110N/A "\e[2F": end-of-line
110N/A "\e[5H": beginning-of-line
110N/A "\e[5F": end-of-line
110N/A "\eOH": beginning-of-line
110N/A "\eOF": end-of-line
110N/A "\eO2H": beginning-of-line
110N/A "\eO2F": end-of-line
110N/A "\eO5H": beginning-of-line
110N/A "\eO5F": end-of-line
110N/A "\eOD": backward-char
110N/A "\eOC": forward-char
110N/A "\eOA": previous-history
110N/A "\eOB": next-history
110N/A "\eOE": re-read-init-file
110N/A "\eO2D": backward-word
110N/A "\eO2C": forward-word
110N/A "\eO2A": history-search-backward
110N/A "\eO2B": history-search-forward
110N/A "\eO3D": backward-word
110N/A "\eO3C": forward-word
110N/A "\eO3A": history-search-backward
110N/A "\eO3B": history-search-forward
110N/A "\eO4D": backward-word
110N/A "\eO4C": forward-word
110N/A "\eO4A": history-search-backward
110N/A "\eO4B": history-search-forward
110N/A "\eO5D": backward-word
110N/A "\eO5C": forward-word
110N/A "\eO5A": history-search-backward
110N/A "\eO5B": history-search-forward
110N/A "\eO6D": backward-word
110N/A "\eO6C": forward-word
110N/A "\eO6A": history-search-backward
110N/A "\eO6B": history-search-forward
110N/A "\eO7D": backward-word
110N/A "\eO7C": forward-word
110N/A "\eO7A": history-search-backward
110N/A "\eO7B": history-search-forward
110N/A "\eO8D": backward-word
110N/A "\eO8C": forward-word
110N/A "\eO8A": history-search-backward
110N/A "\eO8B": history-search-forward
110N/A "\eOP": "\e"
110N/A "\eOQ": undo
110N/A "\eOR": ""
110N/A "\eOS": kill-line
110N/A "\eO2P": "\e"
110N/A "\eO2Q": undo
110N/A "\eO2R": ""
110N/A "\eO2S": kill-line
110N/A "\eO3P": "\e"
110N/A "\eO3Q": undo
110N/A "\eO3R": ""
110N/A "\eO3S": kill-line
110N/A "\eO4P": "\e"
110N/A "\eO4Q": undo
110N/A "\eO4R": ""
110N/A "\eO4S": kill-line
110N/A "\eO5P": "\e"
110N/A "\eO5Q": undo
110N/A "\eO5R": ""
110N/A "\eO5S": kill-line
110N/A "\eO6P": "\e"
110N/A "\eO6Q": undo
110N/A "\eO6R": ""
110N/A "\eO6S": kill-line
110N/A "\eO7P": "\e"
110N/A "\eO7Q": undo
110N/A "\eO7R": ""
110N/A "\eO7S": kill-line
110N/A "\eO8P": "\e"
110N/A "\eO8Q": undo
110N/A "\eO8R": ""
110N/A "\eO8S": kill-line
110N/A "\eO1;2P": "\e"
110N/A "\eO1;2Q": undo
110N/A "\eO1;2R": ""
110N/A "\eO1;2S": kill-line
110N/A "\eO1;3P": "\e"
110N/A "\eO1;3Q": undo
110N/A "\eO1;3R": ""
110N/A "\eO1;3S": kill-line
110N/A "\eO1;4P": "\e"
110N/A "\eO1;4Q": undo
110N/A "\eO1;4R": ""
110N/A "\eO1;4S": kill-line
110N/A "\eO1;5P": "\e"
110N/A "\eO1;5Q": undo
110N/A "\eO1;5R": ""
110N/A "\eO1;5S": kill-line
110N/A "\eO1;6P": "\e"
110N/A "\eO1;6Q": undo
110N/A "\eO1;6R": ""
110N/A "\eO1;6S": kill-line
110N/A "\eO1;7P": "\e"
110N/A "\eO1;7Q": undo
110N/A "\eO1;7R": ""
110N/A "\eO1;7S": kill-line
110N/A "\eO1;8P": "\e"
110N/A "\eO1;8Q": undo
110N/A "\eO1;8R": ""
110N/A "\eO1;8S": kill-line
110N/A$else
110N/A "\e[G": re-read-init-file
110N/A "\e[1~": beginning-of-line
110N/A "\e[4~": end-of-line
110N/A$endif
110N/A$if term=gnome
110N/A "\eOP": "\e"
110N/A "\eOQ": undo
110N/A "\eOR": ""
110N/A "\eOS": kill-line
110N/A$endif
110N/A
110N/A$if term=rxvt-unicode
110N/A "\e[23$": ""
110N/A "\e[24$": ""
110N/A "\e[11^": ""
110N/A "\e[12^": ""
110N/A "\e[13^": ""
110N/A "\e[14^": ""
110N/A "\e[15^": ""
110N/A "\e[17^": ""
110N/A "\e[18^": ""
110N/A "\e[19^": ""
110N/A "\e[20^": ""
110N/A "\e[21^": ""
110N/A "\e[23^": ""
110N/A "\e[24^": ""
110N/A "\eOo": "/"
110N/A "\eOj": "*"
110N/A "\eOm": "-"
110N/A "\eOk": "+"
110N/A "\eOl": ","
110N/A "\eOM": accept-line
110N/A "\eOn": "."
110N/A "\eOp": "0"
110N/A "\eOq": "1"
110N/A "\eOr": "2"
110N/A "\eOs": "3"
110N/A "\eOt": "4"
110N/A "\eOu": "5"
110N/A "\eOv": "6"
110N/A "\eOw": "7"
110N/A "\eOx": "8"
110N/A "\eOy": "9"
110N/A "\e\eOo": ""
110N/A "\e\eOj": ""
110N/A "\e\eOm": ""
110N/A "\e\eOk": ""
110N/A "\e\eOl": delete-char
110N/A "\e\eOM": accept-line
110N/A "\e\eOn": delete-char
110N/A "\e\eOp": yank
110N/A "\e\eOq": end-of-line
110N/A "\e\eOr": down-history
110N/A "\e\eOs": history-search-forward
110N/A "\e\eOt": backward-char
110N/A "\e\eOu": re-read-init-file
110N/A "\e\eOv": forward-char
110N/A "\e\eOw": beginning-of-line
110N/A "\e\eOx": up-history
110N/A "\e\eOy": history-search-backward
110N/A "\e[c": forward-word
110N/A "\e[d": backward-word
110N/A "\e[a": history-search-backward
110N/A "\e[b": history-search-forward
110N/A "\e\e[c": forward-word
110N/A "\e\e[d": backward-word
110N/A "\e\e[a": history-search-backward
110N/A "\e\e[b": history-search-forward
110N/A "\e\e[C": forward-word
110N/A "\e\e[D": backward-word
110N/A "\e\e[A": history-search-backward
110N/A "\e\e[B": history-search-forward
110N/A "\e[2^": yank
110N/A "\e[3^": delete-char
110N/A "\e[5^": history-search-backward
110N/A "\e[6^": history-search-forward
110N/A "\e[7^": beginning-of-line
110N/A "\e[8^": end-of-line
110N/A "\e[2$": yank
110N/A "\e[3$": delete-char
110N/A "\e[5$": history-search-backward
110N/A "\e[6$": history-search-forward
110N/A "\e[7$": beginning-of-line
110N/A "\e[8$": end-of-line
110N/A "\e\e[2$": yank
110N/A "\e\e[3$": delete-char
110N/A "\e\e[5$": history-search-backward
110N/A "\e\e[6$": history-search-forward
110N/A "\e\e[7$": beginning-of-line
110N/A "\e\e[8$": end-of-line
110N/A "\e=": accept-line
110N/A$endif
110N/A