From bc3d9e20f4168395d85f4743886f6ffe25eee9bb Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 13 Jul 2015 12:54:52 +1200 Subject: Alt+R to repeat last command --- readline/inputrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3