8
8
#
9
9
# Author: David Hacker <[email protected] >
10
10
11
- # ############ ZINIT #############
11
+ # ############ ZINIT #############
12
12
13
13
if [[ ! -f $HOME /.zinit/bin/zinit.zsh ]]; then
14
14
print -P " %F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f"
@@ -52,7 +52,7 @@ if which go > /dev/null 2>&1; then
52
52
PATH=" $PATH :$GOPATH /bin"
53
53
fi
54
54
55
- # ############ ALIASES #############
55
+ # ############ ALIASES #############
56
56
57
57
alias vimconfig=" vim ~/.vimrc"
58
58
alias viminstall=" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && vimupdate"
@@ -74,7 +74,14 @@ alias la="ls -A"
74
74
alias ll=" ls -l"
75
75
alias lla=" ls -lA"
76
76
77
- # ############ PLUGINS #############
77
+ # ############ BINDINGS #############
78
+
79
+ bindkey -v
80
+ bindkey ' ^A' beginning-of-line
81
+ bindkey ' ^E' end-of-line
82
+ bindkey -M viins ' jk' vi-cmd-mode
83
+
84
+ # ############ PLUGINS #############
78
85
79
86
zinit ice compile' (pure|async).zsh' pick' async.zsh' src' pure.zsh'
80
87
zinit light sindresorhus/pure
@@ -85,7 +92,6 @@ zinit wait lucid for \
85
92
OMZ::plugins/nvm/nvm.plugin.zsh \
86
93
OMZ::plugins/golang/golang.plugin.zsh \
87
94
OMZ::plugins/fzf/fzf.plugin.zsh \
88
- jeffreytse/zsh-vi-mode \
89
95
djui/alias-tips \
90
96
atinit" zicompinit; zicdreplay" \
91
97
zdharma/fast-syntax-highlighting \
@@ -95,7 +101,7 @@ zinit wait lucid for \
95
101
zsh-users/zsh-completions \
96
102
zimfw/completion
97
103
98
- # ############ LOCAL FILES #############
104
+ # ############ LOCAL FILES #############
99
105
100
106
local_zshrc=" $HOME /.zshrc.local"
101
107
if [[ -f $local_zshrc ]]; then
0 commit comments