X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/859a1658664cbc854b9210daf6311244e5c763d8..ecfc17669aaa6dbdc991ebd3b81ec695663b72c7:/dot/inputrc diff --git a/dot/inputrc b/dot/inputrc index 95fad6c..f3dcc25 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -9,14 +9,17 @@ set convert-meta off 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 @@ -24,8 +27,9 @@ set enable-bracketed-paste on "\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