From f77ead93a74e7e50ea3baf6c8d949c68c73de574 Mon Sep 17 00:00:00 2001 From: gotbletu Date: Fri, 29 Jan 2016 11:45:51 -0800 Subject: [PATCH] bang hotkeys v2 --- bang_previous_commands_hotkeys.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bang_previous_commands_hotkeys.md b/bang_previous_commands_hotkeys.md index 2bca78c..e9f9d00 100644 --- a/bang_previous_commands_hotkeys.md +++ b/bang_previous_commands_hotkeys.md @@ -23,6 +23,7 @@ Alt+1, Alt+2 ...etc bind '"\e3": "!:0-2 \n"' bind '"\e4": "!:0-3 \n"' bind '"\e5": "!:0-4 \n"' + bind '"\e`": "!:-1 \n"' # all but the last word ### zsh @@ -37,6 +38,7 @@ Alt+1, Alt+2 ...etc bindkey -s '\e3' "!:0-2 \t" bindkey -s '\e4' "!:0-3 \t" bindkey -s '\e5' "!:0-4 \t" + bindkey -s '\e`' "!:-1 \t" # all but the last word ### contact