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:
parent
96e7334928
commit
f6c45da219
1 changed files with 2 additions and 1 deletions
3
.zshrc
3
.zshrc
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue