You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1012 B
38 lines
1012 B
# GNU Readline main configuration file
|
|
|
|
## completion case-insentivive and ambiguous
|
|
set completion-ignore-case on
|
|
set show-all-if-ambiguous on
|
|
set colored-completion-prefix on
|
|
set colored-stats on
|
|
set mark-symlinked-directories on
|
|
set visible-stats on
|
|
set skip-completed-text on
|
|
|
|
# display characters with the eighth bit set directly
|
|
set input-meta on
|
|
set output-meta on
|
|
set convert-meta off
|
|
|
|
# if there are 20 or more possible completions for a word,
|
|
# ask whether or not the user wants to see all of them
|
|
set completion-query-items 20
|
|
|
|
## ARROW up, down for history search
|
|
"\e[A":history-search-backward
|
|
"\e[B":history-search-forward
|
|
|
|
# CTRL + Right, Left for word suppressing
|
|
"\e[1;5C": forward-word
|
|
"\e[1;5D": backward-word
|
|
|
|
# ALT + BACKSPACE for left line suppressing
|
|
"\e[3;3~": kill-line
|
|
# ALT + DELETE for right line suppressing
|
|
"\e\C-?": backward-kill-line
|
|
|
|
# CTRL + BACKSPACE for left word suppressing
|
|
"\C-H": backward-kill-word
|
|
|
|
# SHIFT + DELETE for whole line suppressing
|
|
"\e[3;2~": kill-whole-line
|