chiark / gitweb /
el/dot-emacs.el, dot/emacs: Add keybinding to update VC modelines.
[profile] / dot / inputrc
index 0f09c10f8cb4a9077da41b2ae21281138d93ad63..9313006877dc9c64a68ce1ec9c65f11cd76a6f2b 100644 (file)
@@ -9,6 +9,7 @@ set convert-meta off
 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
@@ -17,14 +18,17 @@ set enable-bracketed-paste on
 "\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
-"\e\C-w": kill-region
+$endif