Skip to content

Commit 1f49260

Browse files
committed
Drop back to original zsh vim bindings due to speed issues
1 parent faf9d3f commit 1f49260

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

zsh/.zshrc

+11-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# Author: David Hacker <[email protected]>
1010

11-
############# ZINIT #############
11+
############# ZINIT #############
1212

1313
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then
1414
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
5252
PATH="$PATH:$GOPATH/bin"
5353
fi
5454

55-
############# ALIASES #############
55+
############# ALIASES #############
5656

5757
alias vimconfig="vim ~/.vimrc"
5858
alias viminstall="git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && vimupdate"
@@ -74,7 +74,14 @@ alias la="ls -A"
7474
alias ll="ls -l"
7575
alias lla="ls -lA"
7676

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 #############
7885

7986
zinit ice compile'(pure|async).zsh' pick'async.zsh' src'pure.zsh'
8087
zinit light sindresorhus/pure
@@ -85,7 +92,6 @@ zinit wait lucid for \
8592
OMZ::plugins/nvm/nvm.plugin.zsh \
8693
OMZ::plugins/golang/golang.plugin.zsh \
8794
OMZ::plugins/fzf/fzf.plugin.zsh \
88-
jeffreytse/zsh-vi-mode \
8995
djui/alias-tips \
9096
atinit"zicompinit; zicdreplay" \
9197
zdharma/fast-syntax-highlighting \
@@ -95,7 +101,7 @@ zinit wait lucid for \
95101
zsh-users/zsh-completions \
96102
zimfw/completion
97103

98-
############# LOCAL FILES #############
104+
############# LOCAL FILES #############
99105

100106
local_zshrc="$HOME/.zshrc.local"
101107
if [[ -f $local_zshrc ]]; then

0 commit comments

Comments
 (0)