refactor(zsh)!: remove zsh-vi-mode
This commit is contained in:
parent
05ac115531
commit
ab336ea711
@ -1,26 +1,18 @@
|
||||
configure() {
|
||||
zvm_after_init() {
|
||||
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/plugins"
|
||||
|
||||
# source fzf
|
||||
[[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"
|
||||
|
||||
# activate syntax highlighting
|
||||
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
}
|
||||
|
||||
}
|
||||
configure() {}
|
||||
|
||||
init() {
|
||||
local wkdir="${BASE_ZSH_CONFIG_DIR}/config/plugins"
|
||||
source "${wkdir}/fzf-tab/fzf-tab.plugin.zsh"
|
||||
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
||||
source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh"
|
||||
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
source "${wkdir}/nix-zsh-completions/nix.plugin.zsh"
|
||||
FPATH="${FPATH}:${wkdir}/nix-zsh-completions"
|
||||
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
|
||||
|
||||
# source fzf
|
||||
[[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"
|
||||
|
||||
configure
|
||||
}
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit debe9c8ad191b68b143230eb7bee437caba9c74f
|
Loading…
x
Reference in New Issue
Block a user