-
- # /etc/inputrc
- # This file configures keyboard input for programs using readline.
- # See "man 3 readline" for more examples.
-
- # Configure the system bell. Options are none, visible, and audible.
- #set bell-style none
-
- # Enable 8 bit input.
- set meta-flag On
- set input-meta On
- set convert-meta Off
- set output-meta On
-
- # Set various nice escape sequences:
- "\eOd": backward-word
- "\eOc": forward-word
-
- # for linux console
- "\e[1~": beginning-of-line
- "\e[4~": end-of-line
- "\e[5~": beginning-of-history
- "\e[6~": end-of-history
- "\e[3~": delete-char
- "\e[2~": quoted-insert
-
- # for xterm
- "\eOH": beginning-of-line
- "\eOF": end-of-line
-
- # those two are for rxvt
- "\e[7~":beginning-of-line
- "\e[8~":end-of-line
-
- # for freebsd console
- "\e[H": beginning-of-line
- "\e[F": end-of-line
-