aboutsummaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-05-22 15:32:58 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-05-22 15:32:58 +1200
commit5d23396258eeb2fcaf854d737b20a9ea28aed37c (patch)
treefe15397ef6917afcd3cc9bb08558624c11a1aeb7 /readline
parentShortcut for prepending "exec" to a line (diff)
downloaddotfiles-5d23396258eeb2fcaf854d737b20a9ea28aed37c.tar.gz
dotfiles-5d23396258eeb2fcaf854d737b20a9ea28aed37c.zip
New macro for tmux
Diffstat (limited to 'readline')
-rw-r--r--readline/inputrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 2443309e..728089a8 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -28,8 +28,11 @@ set show-all-if-ambiguous On
# Don't re-complete already completed text in the middle of a word
set skip-completed-text On
-# In Bash, Alt-E to prepend "exec " to a command and return to the end of the line
+# Bash macros
$if Bash
+ # Alt-E (for exec) to prepend "exec " to a command and return to the end of the line
"\ee": "\C-aexec \C-e"
+ # Alt-M (for muxer) to run tmux
+ "\em": "tmux\n"
$endif