chiark / gitweb /
dot/inputrc: Various kinds of readline tweaking.
authorMark Wooding <mwooding@good.com>
Thu, 20 Mar 2014 15:02:26 +0000 (15:02 +0000)
committerMark Wooding <mwooding@good.com>
Thu, 20 Mar 2014 15:05:22 +0000 (15:05 +0000)
dot/inputrc

index 4295b3a8888270e989e24e697aae6cd84f366435..0dadcbca21bc352ea7685eebe8f84c895eb16367 100644 (file)
@@ -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