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:
8319895
)
dot/inputrc: Make C-u delete the whole line.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 13 Aug 2017 13:49:19 +0000
(14:49 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/inputrc
b/dot/inputrc
index 0f09c10f8cb4a9077da41b2ae21281138d93ad63..95fad6cb55aa1f4b0bc7dcc586cfa589a1b929a2 100644
(file)
--- a/
dot/inputrc
+++ b/
dot/inputrc
@@
-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
## 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
## Better cursor motion.
"\e\C-b": shell-backward-word