aboutsummaryrefslogtreecommitdiff
path: root/readline/inputrc
diff options
context:
space:
mode:
Diffstat (limited to 'readline/inputrc')
-rw-r--r--readline/inputrc7
1 files changed, 5 insertions, 2 deletions
diff --git a/readline/inputrc b/readline/inputrc
index 5254656e..7e4b500d 100644
--- a/readline/inputrc
+++ b/readline/inputrc
@@ -62,6 +62,9 @@ $if Bash
# Alt+A cycles through completion options
"\ea": menu-complete
+ # Ctrl-Alt-L to clear screen; more ksh-like
+ "\e\C-l": clear-screen
+
# Alt-E (for exec) to prepend "exec " to a command and return to the end of
# the line
"\ee": "\C-aexec \C-e"
@@ -71,8 +74,8 @@ $if Bash
# Alt-S (for set) to wrap current command in (set -x ; ...)
"\es": "\C-a(set -x ; \C-e)\C-b"
- # Alt-M (for muxer) to run tmux
- "\em": "\C-utmux\C-j\C-y"
+ # Alt-M (for muxer) to run tm(1df)
+ "\em": "\C-utm\C-j\C-y"
# Ctrl-Alt-B to move backward a shell-quoted word
"\e\C-b": shell-backward-word