X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/40421d0b105e6e9ce9cbdff368aab4989ac6f184..675455c2159ddadcc96a04b470d9516d54bd7fe7:/dot/inputrc diff --git a/dot/inputrc b/dot/inputrc index 1a8e8e3..f3dcc25 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -13,11 +13,13 @@ 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 @@ -25,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