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