Search notes:
readline initialization file
Comments start with #
.
Conditional constructs
Conditional constructs are possible with $if
, $else
and $endif
.
$if mode=vi
bind …
$endif
$if term=xvrt
…
$endif
$if Bash
$endif
Re-reading an init file
An initialization file can be re-read with bind -f init-file
.
$INPUTRC
With $INPUTRC
, a non default location/path of an init file can be specified.
Including other files
An initialization file can include other files with $include /path/to/file
.
Some settings
8-bit input/output
set meta-flag on
set convert-meta off
set input-meta on
set output-meta on
Filename completion/expansion
set completion-ignore-case on
set show-all-if-ambiguous on
Expand homedir name
set expand-tilde on
Append a slash (/) to directory names
set mark-directories on
set mark-symlinked-directories on
Match all files
set match-hidden-files on
Magic space
Space: magic-space
TODO
# the following line is actually
# equivalent to "\C-?": delete-char
"\e[3~": delete-char
# VT
"\e[1~": beginning-of-line
"\e[4~": end-of-line
# kvt
"\e[H": beginning-of-line
"\e[F": end-of-line
# rxvt and konsole (i.e. the KDE-app...)
"\e[7~": beginning-of-line
"\e[8~": end-of-line
# VT220
"\eOH": beginning-of-line
"\eOF": end-of-line