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