2 set horizontal-scroll-mode Off
14 # bell-style的取值范围是:none, visible, audible
17 #####################################################################
18 # 下面将包含在第一个参数中的转义序列值映射到 readline 的特定功能
24 "\e[1~": beginning-of-line
26 #"\e[5~": beginning-of-history
27 #"\e[6~": end-of-history
29 #"\e[2~": quoted-insert
32 #"\eOH": beginning-of-line
36 #"\e[H": beginning-of-line
38 #####################################################################
43 # Ignore case while completing
44 set bind-tty-special-chars on
45 set completion-ignore-case on
48 #set show-all-if-ambiguous on
50 "\M-!": complete-command
51 "\M-/": complete-filename
52 "\M-*": insert-completions
53 #"\M-$": complete-variable
54 #"\M-h": dynamic-complete-history
60 # "\C-i": forward-search-history
61 # "gg": beginning-of-history
64 #"]": complete-variable
65 #"[": complete-command
66 # "\C-o" yank-last-arg
67 # "\C-p": menu-complete
68 # set keymap vi-insert
69 # "\C-p": menu-complete
70 # "\C-o": yank-last-arg
71 # "\C-v": paste-from-clipboard
72 # "\C-k": complete-filename
73 # "\C-n": complete-command
75 # "\C-x\C-r": re-read-init-file
76 # "\C-x*": glob-expand-word
77 # "\C-xu": complete-variable
79 # "\e[1~": beginning-of-line
80 # "\e[4~": end-of-line
81 #"\e[2~": paste-from-clipboard # Insert key
85 #"\M-G": end-of-history
86 #"\M-0": digit-argument
87 #"\M-1": digit-argument
88 #"\M-2": digit-argument
89 #"\M-3": digit-argument
90 #"\M-4": digit-argument
91 #"\M-5": digit-argument
92 #"\M-6": digit-argument
93 #"\M-7": digit-argument
94 #"\M-8": digit-argument
95 #"\M-9": digit-argument
96 #"\M-*": insert-completions
97 #"\M-p": previous-history
99 #"\M-t": transpose-words
101 ##from http://hermitte.free.fr/cygwin/.inputrc
102 #"\M-[1~": beginning-of-line #bind home key
103 #"\M-[4~": end-of-line #bind end key
104 ##Control-u: kill-whole-line
105 ##"\M-[2~": paste-from-clipboard # Insert key
106 #"\M-[3~": delete-char # delete key
108 #"\C-xf": dump-functions
109 #"\C-xm": dump-macros
110 #"\C-xv": dump-variables
111 #"\7fHH": delete-char
112 #"\C-i" : vi-complete
113 #"\M-H": history-and-alias-expand-line
116 #"g": beginning-of-history
119 #for Insert key to paste
122 # XMODIFIERS="@im=Chinput"