|
| 1 | +# none, visible or audible |
| 2 | +set bell-style visible |
| 3 | + |
| 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 |
| 8 | + |
| 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 |
| 13 | + |
| 14 | +# disable/enable 8bit input |
| 15 | +set input-meta on |
| 16 | +set output-meta on |
| 17 | +set convert-meta off |
| 18 | + |
| 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 |
| 23 | +set mark-symlinked-directories on |
| 24 | + |
| 25 | +# Beep first, show all only upon double-Tab |
| 26 | +set show-all-if-ambiguous off |
| 27 | + |
| 28 | +# MSYSTEM is emacs based |
| 29 | +$if mode=emacs |
| 30 | + # Common to Console & RXVT |
| 31 | + "\e[2;2~": paste-from-clipboard # Shift-Insert |
| 32 | + "\e[5~": beginning-of-history # Page up |
| 33 | + "\e[6~": end-of-history # Page down |
| 34 | + |
| 35 | + # Mintty |
| 36 | + "\e[1;5D": "\eOD" # Ctrl-Left |
| 37 | + "\e[1;5C": "\eOC" # Ctrl-Right |
| 38 | + "\e[1;5A": "\eOA" # Ctrl-Up |
| 39 | + "\e[1;5B": "\eOB" # Ctrl-Down |
| 40 | + "\e[1;3D": "\e\e[D" # Alt-Left |
| 41 | + "\e[1;3C": "\e\e[C" # Alt-Right |
| 42 | + |
| 43 | + "\e[Z": complete # Shift-Tab |
| 44 | + |
| 45 | + $if term=msys # RXVT |
| 46 | + "\e[7~": beginning-of-line # Home Key |
| 47 | + "\e[8~": end-of-line # End Key |
| 48 | + "\e[11~": display-shell-version # F1 |
| 49 | + "\e[15~": re-read-init-file # F5 |
| 50 | + "\e[12~": "Function Key 2" |
| 51 | + "\e[13~": "Function Key 3" |
| 52 | + "\e[14~": "Function Key 4" |
| 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 | + $else |
| 59 | + # Eh, normal Console is not really cygwin anymore, is it? Using 'else' instead. -mstormo |
| 60 | + # $if term=cygwin # Console |
| 61 | + "\e[1~": beginning-of-line # Home Key |
| 62 | + "\e[4~": end-of-line # End Key |
| 63 | + "\e[3~": delete-char # Delete Key |
| 64 | + "\e[1;5D": backward-word # Ctrl-Left |
| 65 | + "\e[1;5C": forward-word # Ctrl-Right |
| 66 | + "\e\e[C": forward-word # Alt-Right |
| 67 | + "\e\e[D": backward-word # Alt-Left |
| 68 | + "\e[17~": "Function Key 6" |
| 69 | + "\e[18~": "Function Key 7" |
| 70 | + "\e[19~": "Function Key 8" |
| 71 | + "\e[20~": "Function Key 9" |
| 72 | + "\e[21~": "Function Key 10" |
| 73 | + "\e[23~": "Function Key 11" |
| 74 | + $endif |
| 75 | + |
| 76 | + $if term=cygwin |
| 77 | + "\e[A": previous-history # Cursor Up |
| 78 | + "\e[B": next-history # Cursor Down |
| 79 | + "\e[C": forward-char # Cursor Right |
| 80 | + "\e[D": backward-char # Cursor Left |
| 81 | + $endif |
| 82 | +$endif |
0 commit comments