Compare commits
3 Commits
f96eb0e234
...
5d8d881d4d
| Author | SHA1 | Date | |
|---|---|---|---|
|
5d8d881d4d
|
|||
|
97f132d609
|
|||
|
98aa0593c9
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -10,3 +10,6 @@
|
||||
[submodule "zsh/custom/plugins/zsh-autopair"]
|
||||
path = zsh/custom/plugins/zsh-autopair
|
||||
url = https://github.com/hlissner/zsh-autopair
|
||||
[submodule "zsh/custom/plugins/fast-syntax-highlighting"]
|
||||
path = zsh/custom/plugins/fast-syntax-highlighting
|
||||
url = https://github.com/zdharma-continuum/fast-syntax-highlighting.git
|
||||
|
||||
1
zsh/custom/plugins/fast-syntax-highlighting
Submodule
1
zsh/custom/plugins/fast-syntax-highlighting
Submodule
Submodule zsh/custom/plugins/fast-syntax-highlighting added at 3d574ccf48
@@ -27,6 +27,7 @@ plugins=(
|
||||
command-not-found
|
||||
dirhistory
|
||||
zsh-autopair
|
||||
fast-syntax-highlighting
|
||||
)
|
||||
|
||||
bindkey -M vicmd "k" up-line-or-beginning-search
|
||||
@@ -95,3 +96,32 @@ if hash pnpm 2>/dev/null; then
|
||||
*) export PATH="$PNPM_HOME:$PATH" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
export FZF_DEFAULT_OPTS='--tmux'
|
||||
export FZF_DEFAULT_OPTS=$FZF_DEFAULT_OPTS'
|
||||
--color=fg:-1,fg+:#83a598,bg:-1,bg+:#262626
|
||||
--color=hl:bold:#8ec07c,hl+:#8ec07c,marker:#cc241d
|
||||
--color=prompt:#fb4934,spinner:#af5fff,pointer:#83a598,header:#87afaf
|
||||
--color=border:#7c6f64,label:#7c6f64
|
||||
--border="sharp" --border-label-pos="0" --preview-window="border-sharp"
|
||||
--prompt="> " --marker="◆" --pointer=">" --separator="─"
|
||||
--scrollbar="│" --info="right"'
|
||||
|
||||
if hash fd 2>/dev/null; then
|
||||
export FZF_DEFAULT_COMMAND="fd --type f --strip-cwd-prefix"
|
||||
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
|
||||
fi
|
||||
if hash fzf 2>/dev/null; then
|
||||
source <(fzf --zsh)
|
||||
|
||||
if hash paru 2>/dev/null; then
|
||||
function pi {
|
||||
paru -Slq | fzf -q "$1" --border-label="Packages" --multi --preview 'paru -Si {1}' | xargs -ro paru -S
|
||||
}
|
||||
fi
|
||||
fi
|
||||
|
||||
export _ZO_FZF_OPTS="--tmux"
|
||||
if hash zoxide 2>/dev/null; then
|
||||
eval "$(zoxide init zsh --cmd cd)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user