chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6617659
)
dot/inputrc: Various kinds of readline tweaking.
author
Mark Wooding
<mwooding@good.com>
Thu, 20 Mar 2014 15:02:26 +0000
(15:02 +0000)
committer
Mark Wooding
<mwooding@good.com>
Thu, 20 Mar 2014 15:05:22 +0000
(15:05 +0000)
dot/inputrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/inputrc
b/dot/inputrc
index 4295b3a8888270e989e24e697aae6cd84f366435..0dadcbca21bc352ea7685eebe8f84c895eb16367 100644
(file)
--- a/
dot/inputrc
+++ b/
dot/inputrc
@@
-5,6
+5,21
@@
set input-meta on
set output-meta on
set convert-meta off
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
## 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