-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdot_zshrc
More file actions
37 lines (27 loc) · 907 Bytes
/
dot_zshrc
File metadata and controls
37 lines (27 loc) · 907 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# source "before' config files
if [ -d "$HOME/.zsh.d/before" ]; then
for z in $HOME/.zsh.d/before/*.zsh(n); do source $z; done
fi
# vi stuff
bindkey -v
export EDITOR=nvim
# antigen
source ~/.antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle vi-mode
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-history-substring-search # load after zsh-syntax-highlighting
antigen theme fishy
antigen apply
# configuration for zsh-users/zsh-history-substring-search
bindkey -M vicmd 'k' history-substring-search-up
bindkey -M vicmd 'j' history-substring-search-down
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE=1
# source "after" config files
if [ -d "$HOME/.zsh.d/after" ]; then
for z in $HOME/.zsh.d/after/*.zsh(n); do source $z; done
fi
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh