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.
49 lines
1.2 KiB
49 lines
1.2 KiB
# GNU Readline main configuration file
|
|
|
|
set blink-matching-paren on
|
|
set visible-stats on
|
|
set mark-symlinked-directories on
|
|
|
|
## completion case insensitive and ambiguous
|
|
set show-all-if-ambiguous on
|
|
set skip-completed-text on
|
|
set colored-completion-prefix on
|
|
set colored-stats on
|
|
set completion-ignore-case on
|
|
set completion-prefix-display-length 15
|
|
set completion-query-items 20
|
|
set menu-complete-display-prefix on
|
|
|
|
# display characters with the eighth bit set directly
|
|
set input-meta on
|
|
set output-meta on
|
|
set convert-meta off
|
|
|
|
# { up, down } for history search
|
|
"\e[A": history-search-backward
|
|
"\e[B": history-search-forward
|
|
|
|
# CTRL + { left, right } for moving around Big Words
|
|
"\e[1;5D": vi-backward-bigword
|
|
"\e[1;5C": vi-forward-bigword
|
|
|
|
# ALT + { left, right } for moving around words (slower)
|
|
"\e[3;5D": vi-backward-word
|
|
"\e[3;5C": vi-end-word
|
|
|
|
# SHIFT + { backspace, delete } for suppressing until start/end (ghostty)
|
|
"\e[3;2~": kill-line
|
|
"\e[127;2u": backward-kill-line
|
|
|
|
# ALT + backspace for suppressing until start (alternative)
|
|
"\e\C-?": backward-kill-line
|
|
|
|
# ALT + delete for suppressing whole line
|
|
"\e[3;3~": kill-whole-line
|
|
|
|
# SHIFT + (CTRL) + Arrows: does nothing
|
|
"\e[1;2D": ''
|
|
"\e[1;2C": ''
|
|
"\e[1;6D": ''
|
|
"\e[1;6C": ''
|
|
|