Update bash/readline settings for Unicode line editing
[msysgit.git] / etc / inputrc
blobd4b668f76eae4c4b60a94d40a25a4075dd50eee5
1 # none, visible or audible
2 set bell-style visible
4 # Ask before displaying >40 items
5 # Since $WINDIR $PATH var can be in $PATH, this could list
6 # all window executables in C:\WINDOWS
7 set completion-query-items 40
9 # Ignore case for the command-line-completion functionality
10 # on:  default on a Windows style console
11 # off: default on a *nix style console
12 set completion-ignore-case on
14 # disable/enable 8bit input
15 set input-meta on
16 set output-meta on
17 set convert-meta off
19 # visible-stats
20 # Append a mark according to the file type in a listing
21 set visible-stats off
22 set mark-directories on
24 # Show all instead of beeping first
25 set show-all-if-ambiguous off
27 # MSYSTEM is emacs based
28 $if mode=emacs
29         # Common to Console & RXVT
30         "\e[2~": paste-from-clipboard           # "Ins. Key"
31         "\e[5~": beginning-of-history           # Page up
32         "\e[6~": end-of-history                 # Page down
34         $if term=xterm # RXVT
35                 "\C-h": backward-kill-line
36                 "\C-?": backward-delete-char
37                 "\e[7~": beginning-of-line      # Home Key
38                 "\e[8~": end-of-line            # End Key
39                 "\e[11~": display-shell-version # F1
40                 "\e[15~": re-read-init-file     # F5
41                 "\e[12~": "Function Key 2"
42                 "\e[13~": "Function Key 3"
43                 "\e[14~": "Function Key 4"
44                 "\e[17~": "Function Key 6"
45                 "\e[18~": "Function Key 7"
46                 "\e[19~": "Function Key 8"
47                 "\e[20~": "Function Key 9"
48                 "\e[21~": "Function Key 10"
49         $else
50                 "\C-?": backward-kill-line      # Ctrl-BackSpace
51                 "\e[1~": beginning-of-line      # Home Key
52                 "\e[4~": end-of-line            # End Key
53                 "\e[17~": "Function Key 6"
54                 "\e[18~": "Function Key 7"
55                 "\e[19~": "Function Key 8"
56                 "\e[20~": "Function Key 9"
57                 "\e[21~": "Function Key 10"
58                 "\e[23~": "Function Key 11"
59         $endif
60 $endif