diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-07-13 12:54:52 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-07-13 12:54:52 +1200 |
commit | bc3d9e20f4168395d85f4743886f6ffe25eee9bb (patch) | |
tree | bd7ead0408066cf65b8614a6489e0308c8645d8d /readline | |
parent | Fix confusing comment with poor grammar (diff) | |
download | dotfiles-bc3d9e20f4168395d85f4743886f6ffe25eee9bb.tar.gz dotfiles-bc3d9e20f4168395d85f4743886f6ffe25eee9bb.zip |
Alt+R to repeat last command
Diffstat (limited to 'readline')
-rw-r--r-- | readline/inputrc | 2 |
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 |