.inputrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Apr 2010 10:56:25 +0300
changeset 54 95a79aeb9abb
parent 53 e38c00b4f0f0
child 55 8fd48debf4cc
permissions -rw-r--r--
Misc readline customisation.

# Settings for readline.
#
# Tips:
#   C-x C-r  re-read ~/.inputrc

# I like this!
set editing-mode emacs

# Don't strip characters to 7 bits when reading.
set input-meta on

# Allow iso-latin1 characters to be inserted rather than converted to
# prefix-meta sequences.
set convert-meta off

# Display characters with the eighth bit set directly rather than as
# meta-prefixed characters.
set output-meta on

# Ignore case (on/off).
set completion-ignore-case on

set completion-query-items 100

# First tab suggests ambiguous variants.
set show-all-if-ambiguous on

# If set to 'on', completed directory names have a slash appended. The default is 'on'.
set mark-directories on

# If set to 'on', a character denoting a file's type is appended to the
# filename when listing possible completions. The default is 'off'.
set visible-stats on

# I like beep (audible/visible/none).
set bell-style audible

# 'quoted-insert' binded to C-q or C-v by default, but C-q usually not worked
# because it handled by terminal driver before readline.
C-v: quoted-insert

# Setting it to 'on' means that the text of the lines being edited will scroll
# horizontally on a single screen line when they are longer than the width of
# the screen, instead of wrapping onto a new screen line. By default, this
# variable is set to 'off'.
set horizontal-scroll-mode off

# This variable, when set to `on', causes Readline to display an asterisk
# ('*') at the start of history lines which have been modified. This variable
# is 'off' by default.
set mark-modified-lines off

# Local Variables:
# mode: shell-script
# fill-column: 78
# End: