|
|
发表于 2005-4-14 13:30:57
|
显示全部楼层
Solomon:~# cat .inputrc
#set bell-style none
# Be 8 bit clean.
set input-meta on
set output-meta on
# To allow the use of 8bit-characters like the german umlauts, comment out
# the line below. However this makes the meta key not work as a meta key,
# which is annoying to those which don't need to type in 8-bit characters.
# set convert-meta off
#"\eOH": begining-of-line # home key
#"\eOF": end-of-line # end key
#"\eOu": "Yeeha!" # middle key on keypad, no-numlock
#"ESC [ 1 ~" HOME
#"ESC [ 4 ~" END
#"ESC [ 2 ~" INS
#"ESC [ 3 ~" DEL
# for linux console and RH/Debian xterm
"\e[1~": beginning-of-line # HOME
"\e[4~": end-of-line # END
"\e[5~": beginning-of-history # PAGEUP
"\e[6~": end-of-history # PAGEDOWN
#"\e[3~": delete-char
#"\e[2~": quoted-insert
"\e[5C": forward-word
"\e[5D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# for rxvt
#"\e[7~": beginning-of-line
#"\e[8~": end-of-line
#"\eOc": forward-word
#"\eOd": backward-word
# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
#"\eOH": beginning-of-line
#"\eOF": end-of-line
# for freebsd console
#"\e[H": beginning-of-line
#"\e[F": end-of-line
Solomon:~# |
|