.inputrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Apr 2010 10:55:02 +0300
changeset 53 e38c00b4f0f0
parent 52 1481359f69d8
child 54 95a79aeb9abb
permissions -rw-r--r--
Use beep if possible.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50
9a89ae1918c4 How re-read ~/.inputrc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 37
diff changeset
     1
# Settings for readline.
9a89ae1918c4 How re-read ~/.inputrc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 37
diff changeset
     2
#
9a89ae1918c4 How re-read ~/.inputrc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 37
diff changeset
     3
# Tips:
9a89ae1918c4 How re-read ~/.inputrc.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 37
diff changeset
     4
#   C-x C-r  re-read ~/.inputrc
33
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
# I like this!
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
set editing-mode emacs
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
# Don't strip characters to 7 bits when reading.
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
set input-meta on
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
# Allow iso-latin1 characters to be inserted rather than converted to
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
# prefix-meta sequences.
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
set convert-meta off
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
# Display characters with the eighth bit set directly rather than as
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
# meta-prefixed characters.
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
set output-meta on
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
52
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    20
# Ignore case (on/off).
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    21
set completion-ignore-case on
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    22
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    23
set completion-query-items 100
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    24
37
5d56427b59a4 First tab suggests ambiguous variants.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 33
diff changeset
    25
# First tab suggests ambiguous variants.
5d56427b59a4 First tab suggests ambiguous variants.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 33
diff changeset
    26
set show-all-if-ambiguous on
5d56427b59a4 First tab suggests ambiguous variants.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 33
diff changeset
    27
52
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    28
# If set to 'on', completed directory names have a slash appended. The default is 'on'.
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    29
set mark-directories on
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    30
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    31
# If set to 'on', a character denoting a file's type is appended to the
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    32
# filename when listing possible completions. The default is 'off'.
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    33
set visible-stats on
1481359f69d8 Useful competition settings.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 51
diff changeset
    34
53
e38c00b4f0f0 Use beep if possible.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 52
diff changeset
    35
# I like beep (audible/visible/none).
e38c00b4f0f0 Use beep if possible.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 52
diff changeset
    36
set bell-style audible
e38c00b4f0f0 Use beep if possible.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 52
diff changeset
    37
51
5e6ee2b720fd Point to C-v key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 50
diff changeset
    38
# 'quoted-insert' binded to C-q or C-v by default, but C-q usually not worked
5e6ee2b720fd Point to C-v key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 50
diff changeset
    39
# because it handled by terminal driver before readline.
5e6ee2b720fd Point to C-v key binding.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 50
diff changeset
    40
C-v: quoted-insert
37
5d56427b59a4 First tab suggests ambiguous variants.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 33
diff changeset
    41
33
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
# Local Variables:
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
# mode: shell-script
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
# fill-column: 78
961fa02a30ff Allow display and input russial letter in bash/rxvt on Cygwin.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
# End: