set variable value
Here, for example, is how to change from the default Emacs-like key binding to use vi line editing commands: set editing-mode vi
Variable names and values, where appropriate, are recognized without regard to case. Unrecognized variable names are ignored.
Boolean variables (those that can be set to on or off) are set to on if the value is null or empty, on (case-insensitive), or 1. Any other value results in the variable being set to off.
The bind -V command lists the current Readline variable names and values.
See Section 4.2 [Bash Builtins], page 48.
A great deal of run-time behavior is changeable with the following variables. bell-style
Controls what happens when Readline wants to ring the termi- nal bell. If set to ‘none’, Readline never rings the bell. If set to
‘visible’, Readline uses a visible bell if one is available. If set to
‘audible’ (the default), Readline attempts to ring the terminal’s bell. bind-tty-special-chars
If set to ‘on’, Readline attempts to bind the control characters treated specially by the kernel’s terminal driver to their Readline equivalents. colored-stats
If set to ‘on’, Readline displays possible completions using different colors to indicate their file type. The color definitions are taken from the value of the LS_COLORS environment variable. The default is ‘off’. comment-begin
The string to insert at the beginning of the line when the insert-comment command is executed. The default value is "#". completion-display-width
The number of screen columns used to display possible matches when performing completion. The value is ignored if it is less than
0 or greater than the terminal screen width. A value of 0 will cause matches to be displayed one per line. The default value is -1. completion-ignore-case
If set to ‘on’, Readline performs filename matching and completion in a case-insensitive fashion. The default value is ‘off’. completion-map-case
If set to ‘on’, and completion-ignore-case is enabled, Readline treats hyphens (‘-’) and underscores (‘_’) as equivalent when performing case-insensitive filename matching and completion.