bang hotkeys v2

pull/10/head
gotbletu 8 years ago
parent 2cc7d0bf26
commit f77ead93a7

@ -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

Loading…
Cancel
Save