X-Git-Url: https://git.wh0rd.org/?p=home.git;a=blobdiff_plain;f=.inputrc;h=30bd90e482f0722e5298d5250e375a0ecf269f04;hp=5a53eafc5068677389c3564f4f6f7446525183ce;hb=847136a30dbf711fc2ccab762fb294218c8004ea;hpb=834a3b716b0514004e887039a6bf6f335159769b diff --git a/.inputrc b/.inputrc index 5a53eaf..30bd90e 100644 --- a/.inputrc +++ b/.inputrc @@ -1 +1,35 @@ -set show-all-if-ambiguous on +set bell-style off +#set completion-ignore-case on +#set expand-tilde on +set match-hidden-files off +#set show-all-if-ambiguous on +set show-all-if-unmodified on +set mark-symlinked-directories on +set match-hidden-files off +set skip-completed-text on +set visible-stats on +set blink-matching-paren on +set colored-stats on +set colored-completion-prefix off +# https://cirw.in/blog/bracketed-paste +set enable-bracketed-paste on + +# alt+k to delete back a word (like alt+backspace) +"\ek": backward-kill-word + +# alt + arrow key +"\e[1;3C": forward-word +"\e[1;3D": backward-word +# ctrl + arrow key +"\e[1;5C": shell-forward-word +"\e[1;5D": shell-backward-word +# meta + arrow key +"\e[1;9C": forward-word +"\e[1;9D": backward-word + +# mappings for "page up" and "page down" to step to the beginning/end +# of the history +"\e[5~": history-search-backward +"\e[6~": history-search-forward + +$include /etc/inputrc