all repos — dotfiles @ 994ca27c6c1820761b5474858e9ec590ddc3f6ef

my *nix dotfiles

.inputrc (view raw)

 1# do not bell on tab-completion
 2#set bell-style none
 3
 4set meta-flag on
 5set input-meta on
 6set convert-meta off
 7set output-meta on
 8
 9$if mode=emacs
10
11# for linux console and RH/Debian xterm
12"\e[1~": beginning-of-line
13"\e[4~": end-of-line
14"\e[5~": beginning-of-history
15"\e[6~": end-of-history
16"\e[7~": beginning-of-line
17"\e[3~": delete-char
18"\e[2~": quoted-insert
19"\e[5C": forward-word
20"\e[5D": backward-word
21"\e\e[C": forward-word
22"\e\e[D": backward-word
23"\e[1;5C": forward-word
24"\e[1;5D": backward-word
25
26# for rxvt                     #added
27"\e[1~": beginning-of-line      
28"\e[4~": end-of-line    
29
30# for non RH/Debian xterm, can't hurt for RH/DEbian xterm
31"\eOH": beginning-of-line
32"\eOF": end-of-line
33
34# for freebsd console
35"\e[H": beginning-of-line
36"\e[F": end-of-line
37$endif