diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-14 15:44:50 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-10-14 15:44:50 +1300 |
commit | 664b8b84b091516effb8c4e07f0a02d7a6c43bc3 (patch) | |
tree | ac3db9c810f32c105f15eb3c669f3fe67a5f3c35 /readline | |
parent | Correct man section for sue(8) (diff) | |
download | dotfiles-664b8b84b091516effb8c4e07f0a02d7a6c43bc3.tar.gz dotfiles-664b8b84b091516effb8c4e07f0a02d7a6c43bc3.zip |
Restore previous command line in readline macros
Diffstat (limited to 'readline')
-rw-r--r-- | readline/inputrc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/readline/inputrc b/readline/inputrc index b969c7bb..7396e320 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -36,13 +36,13 @@ $if Bash # the line "\ee": "\C-aexec \C-e" # Alt-H (for home) to go $HOME - "\eh": "cd\C-j" + "\eh": "\C-ucd\C-j\C-y" # Alt-L (for ls) to run ls -Al - "\el": "ls -Al\C-j" + "\el": "\C-uls -Al\C-j\C-y" # Alt-M (for muxer) to run tmux - "\em": "tmux\C-j" + "\em": "\C-utmux\C-j\C-y" # Alt-R (for repeat) to run the previous command in history again - "\er": "\C-p\C-j" + "\er": "\C-u\C-p\C-j\C-y" # Alt-S (for set) to wrap current command in (set -x ; ...) "\es": "\C-a(set -x ; \C-e)\C-b" $endif |