From: Mark Wooding Date: Thu, 20 Mar 2014 15:02:26 +0000 (+0000) Subject: dot/inputrc: Various kinds of readline tweaking. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/profile/commitdiff_plain/2d04b37bd8c51ce52f6db385968e2b13005a0b78 dot/inputrc: Various kinds of readline tweaking. --- diff --git a/dot/inputrc b/dot/inputrc index 4295b3a..0dadcbc 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -5,6 +5,21 @@ set input-meta on set output-meta on set convert-meta off +## Other twiddles. +set bind-tty-special-chars off +set blink-matching-paren on + ## Missing bindings "\e\e[C": forward-word "\e\e[D": backward-word + +## Because the default bindings are just too weird. +"\en": history-search-forward +"\ep": history-search-backward + +## Better cursor motion. +"\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