magic-space expand sequence referring to the command history in place, so you have a chance to review before executing.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 12 Nov 2023 13:44:06 +0200
changeset 1022 17e43eca7401
parent 1021 011e1d002d17
child 1023 15f1cfa23949
magic-space expand sequence referring to the command history in place, so you have a chance to review before executing.
.inputrc
--- a/.inputrc	Sun Nov 12 11:02:48 2023 +0200
+++ b/.inputrc	Sun Nov 12 13:44:06 2023 +0200
@@ -74,6 +74,7 @@
 # shell commands. Bash attempts to invoke $FCEDIT, $EDITOR, and emacs as the
 # editor, in that order.
 "\C-x\C-e": edit-and-execute-command
+# magic-space expand sequence referring to the command history in place, so you have a chance to review before executing.
 Space: magic-space
 $endif
 
@@ -87,6 +88,7 @@
 "\C-_": undo
 "\C-]": character-search
 "\e\C-]": character-search-backward
+"\er": revert-line
 
 # Ctrl+Left/Right to move by whole words. XTerm/Mintty.
 "\e[1;5C": forward-word