-
Notifications
You must be signed in to change notification settings - Fork 1
/
.zplug.zsh
47 lines (35 loc) · 1.17 KB
/
.zplug.zsh
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
38
39
40
41
42
43
44
45
46
47
[[ -f ~/.zplug/init.zsh ]] && \
export ZPLUG_HOME=~/.zplug && \
source ~/.zplug/init.zsh || \
echo "Install zplug:\ngit clone https://github.com/zplug/zplug ~/.zplug"
# pl10k prompt
zplug romkatv/powerlevel10k, as:theme, depth:1
# Colour man pages
zplug "ael-code/zsh-colored-man-pages"
# Fish-like autosuggestions for zsh
zplug "zsh-users/zsh-autosuggestions"
# Syntax highlighting in zsh
zplug "zdharma/fast-syntax-highlighting"
# Z plugin: jump to 'frecent' dirs
#zplug "agkozak/zsh-z"
# Switched to zoxide
# Prefix command with doas by pressing esc twice
zplug "anatolykopyl/doas-zsh-plugin"
# Access external clipboards in vi-mode keymaps, and synchronize registers
zplug "zsh-vi-more/evil-registers"
# Zsh easy motion, like Vim's
#zplug "IngoHeimbach/zsh-easy-motion"
#bindkey -M vicmd '#' vi-easy-motion
# Replace zsh's default completion selection menu with fzf
zplug "Aloxaf/fzf-tab"
# Git + fzf
zplug "wfxr/forgit"
# Install plugins if there are plugins that have not been installed
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
# Then, source plugins and add commands to $PATH
zplug load