fix(zsh): integrate zsh vi mode correctly
This commit is contained in:
parent
ded6e9af8e
commit
076c984294
@ -1,4 +1,13 @@
|
|||||||
configure() {
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -7,7 +16,6 @@ init() {
|
|||||||
source "${wkdir}/fzf-tab/fzf-tab.plugin.zsh"
|
source "${wkdir}/fzf-tab/fzf-tab.plugin.zsh"
|
||||||
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
|
||||||
source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
|
||||||
source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh"
|
source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh"
|
||||||
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
|
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
|
||||||
|
|
||||||
|
1
dots/.config/zsh/config/plugins/zsh-vi-mode
Submodule
1
dots/.config/zsh/config/plugins/zsh-vi-mode
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit debe9c8ad191b68b143230eb7bee437caba9c74f
|
Loading…
Reference in New Issue
Block a user