zsh mappings
This commit is contained in:
parent
a6b8205df1
commit
4e7ed7fa86
@ -24,8 +24,6 @@ bindkey -M viins '\e.' insert-last-word # M-.
|
||||
bindkey '^[[Z' reverse-menu-complete # S-Tab
|
||||
|
||||
|
||||
|
||||
|
||||
insert-sudo() {
|
||||
local sudo_template="${SUDO:=sudo} "
|
||||
local template_len="${#sudo_template}"
|
||||
@ -56,6 +54,7 @@ popdquiet() {
|
||||
}
|
||||
zle -N popdquiet
|
||||
bindkey "^P" popdquiet
|
||||
bindkey -M vicmd "^P" popdquiet
|
||||
|
||||
|
||||
cddotdot() {
|
||||
@ -63,4 +62,5 @@ cddotdot() {
|
||||
zle reset-prompt
|
||||
}
|
||||
zle -N cddotdot
|
||||
bindkey "^O" cddotdot
|
||||
bindkey "^O" cddotdot
|
||||
bindkey -M vicmd "^O" cddotdot
|
||||
Loading…
x
Reference in New Issue
Block a user