fix conflict between vi mode and fzf (ctrl+r)
This commit is contained in:
@@ -22,16 +22,17 @@ plugins=(
|
|||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
last-working-dir
|
last-working-dir
|
||||||
zsh-vi-mode
|
zsh-vi-mode
|
||||||
|
fzf-zsh-plugin
|
||||||
sudo
|
sudo
|
||||||
aliases
|
aliases
|
||||||
alias-finder
|
alias-finder
|
||||||
colored-man-pages
|
colored-man-pages
|
||||||
dircycle
|
dircycle
|
||||||
dirhistory
|
dirhistory
|
||||||
|
zoxide
|
||||||
dotenv
|
dotenv
|
||||||
genpass
|
genpass
|
||||||
history
|
history
|
||||||
fzf-zsh-plugin
|
|
||||||
web-search
|
web-search
|
||||||
command-not-found
|
command-not-found
|
||||||
git-prompt
|
git-prompt
|
||||||
@@ -42,6 +43,10 @@ plugins=(
|
|||||||
docker-compose
|
docker-compose
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Fix ctrl+r
|
||||||
|
source $HOME/.oh-my-zsh/custom/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||||
|
zvm_after_init_commands+=('[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh')
|
||||||
|
|
||||||
# Plugin Options
|
# Plugin Options
|
||||||
ZSH_ALIAS_FINDER_AUTOMATIC=true
|
ZSH_ALIAS_FINDER_AUTOMATIC=true
|
||||||
|
|
||||||
@@ -51,8 +56,7 @@ if [ -f $HOME/.zsh_aliases ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
eval "$(zoxide init zsh)"
|
#eval "$(zoxide init zsh)"
|
||||||
#eval "$(starship init zsh)"
|
|
||||||
|
|
||||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
|
|||||||
Reference in New Issue
Block a user