diff --git a/home/user/.config/zsh/mappings b/home/user/.config/zsh/mappings index 9883847..6b747a9 100644 --- a/home/user/.config/zsh/mappings +++ b/home/user/.config/zsh/mappings @@ -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 \ No newline at end of file +bindkey "^O" cddotdot +bindkey -M vicmd "^O" cddotdot \ No newline at end of file