Remove omz sudo plugin and remap ^[^[ to vi mode to allow for quick mode change without having to wait for KEYTIMEOUT

This commit is contained in:
Daniel McKnight 2025-07-11 17:51:24 -07:00
parent 96e7334928
commit f6c45da219

3
.zshrc
View file

@ -141,7 +141,7 @@ zinit snippet OMZP::colored-man-pages
zinit snippet OMZP::encode64 zinit snippet OMZP::encode64
zinit snippet OMZP::gh zinit snippet OMZP::gh
zinit snippet OMZP::pip zinit snippet OMZP::pip
zinit snippet OMZP::sudo #zinit snippet OMZP::sudo
zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-syntax-highlighting zinit light zsh-users/zsh-syntax-highlighting
@ -150,3 +150,4 @@ zinit light zsh-users/zsh-syntax-highlighting
KEYTIMEOUT=5 KEYTIMEOUT=5
# ^[ for esc; ^I for tab # ^[ for esc; ^I for tab
bindkey '^a' autosuggest-accept bindkey '^a' autosuggest-accept
bindkey '^[^[' vi-cmd-mode