dot/inputrc: Make C-u delete the whole line.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 13:49:19 +0000 (14:49 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 13 Aug 2017 13:49:19 +0000 (14:49 +0100)
Not just the portion between the start of the line and point.  And there
was much rejoicing.

dot/inputrc

index 0f09c10..95fad6c 100644 (file)
@@ -21,6 +21,7 @@ set enable-bracketed-paste on
 ## Because the default bindings are just too weird.
 "\en": history-search-forward
 "\ep": history-search-backward
+"\C-u": kill-whole-line
 
 ## Better cursor motion.
 "\e\C-b": shell-backward-word