From 2d04b37bd8c51ce52f6db385968e2b13005a0b78 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 20 Mar 2014 15:02:26 +0000 Subject: [PATCH] dot/inputrc: Various kinds of readline tweaking. --- dot/inputrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- 2.11.0