Browse Source

better inputrc

master
pvincent 6 months ago
parent
commit
c09fef2c35
  1. 21
      inputrc

21
inputrc

@ -1,11 +1,25 @@
## completion case-insentivive
## 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
@ -18,3 +32,6 @@ set completion-ignore-case on
# CTRL + BACKSPACE for left word suppressing
"\C-H": backward-kill-word
# SHIFT + DELETE for whole line suppressing
"\e[3;2~": kill-whole-line
Loading…
Cancel
Save