X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/c626c512d4420440410e22955c23cf0ea8b0d2b1..b617a6a0d5df3b7dbb86a72c6cb0b875ac396810:/dot/inputrc diff --git a/dot/inputrc b/dot/inputrc index 0f09c10..9313006 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -9,6 +9,7 @@ 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 @@ -17,14 +18,17 @@ set enable-bracketed-paste on "\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