all repos — dotfiles @ 2f6996a1a7fbdbaab650c5c09cd5fb18b5204ef6

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
38
39"\e[A": history-search-backward
40"\e[B": history-search-forward