X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/2d04b37bd8c51ce52f6db385968e2b13005a0b78..9af2290baca1a1a491adbb3ba4f2e27bd457b0bc:/dot/inputrc diff --git a/dot/inputrc b/dot/inputrc index 0dadcbc..f3dcc25 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -6,20 +6,30 @@ set output-meta on set convert-meta off ## Other twiddles. +set bell-style none set bind-tty-special-chars off set blink-matching-paren on +set enable-bracketed-paste on +set colored-completion-prefix off +set colored-stats on +set enable-bracketed-paste on +set show-all-if-ambiguous ## Missing bindings "\e\e[C": forward-word "\e\e[D": backward-word +"\e ": "\e\\ " +"\e\C-w": kill-region ## Because the default bindings are just too weird. "\en": history-search-forward "\ep": history-search-backward +"\C-u": kill-whole-line ## Better cursor motion. +$if Bash "\e\C-b": shell-backward-word "\e\C-d": shell-kill-word "\e\C-f": shell-forward-word "\C-w": shell-backward-kill-word -"\e\C-w": kill-region +$endif