From f6c45da219b0e66f4e10d09696999ce3258f438a Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Fri, 11 Jul 2025 17:51:24 -0700 Subject: [PATCH] Remove omz sudo plugin and remap ^[^[ to vi mode to allow for quick mode change without having to wait for KEYTIMEOUT --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index fa03e16..b82db72 100644 --- a/.zshrc +++ b/.zshrc @@ -141,7 +141,7 @@ zinit snippet OMZP::colored-man-pages zinit snippet OMZP::encode64 zinit snippet OMZP::gh zinit snippet OMZP::pip -zinit snippet OMZP::sudo +#zinit snippet OMZP::sudo zinit light zsh-users/zsh-autosuggestions zinit light zsh-users/zsh-syntax-highlighting @@ -150,3 +150,4 @@ zinit light zsh-users/zsh-syntax-highlighting KEYTIMEOUT=5 # ^[ for esc; ^I for tab bindkey '^a' autosuggest-accept +bindkey '^[^[' vi-cmd-mode