aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
Diffstat (limited to 'readline')
-rw-r--r--readline/inputrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 13cd6487..b969c7bb 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -41,6 +41,8 @@ $if Bash
"\el": "ls -Al\C-j"
# Alt-M (for muxer) to run tmux
"\em": "tmux\C-j"
+ # Alt-R (for repeat) to run the previous command in history again
+ "\er": "\C-p\C-j"
# Alt-S (for set) to wrap current command in (set -x ; ...)
"\es": "\C-a(set -x ; \C-e)\C-b"
$endif