chiark / gitweb /
dot/emacs: Bind a key to `magit-toggle-buffer-lock'.
[profile] / dot / inputrc
index 4295b3a8888270e989e24e697aae6cd84f366435..f3dcc25c80d50ccd10db75234be053414ade7a7c 100644 (file)
@@ -5,6 +5,31 @@ set input-meta on
 set output-meta on
 set convert-meta off
 
+## Other twiddles.
+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
+set show-all-if-ambiguous
+
 ## Missing bindings
 "\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
+$endif