vimrc tweaks
This commit is contained in:
parent
b19c0831d1
commit
a9aacafc1e
2 changed files with 30 additions and 24 deletions
|
@ -15,6 +15,13 @@ source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
|||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
||||
export FZF_CTRL_T_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
||||
export FZF_DEFAULT_OPTS="-e --layout=reverse --height=40% --preview='bat --color=always --tabs=2 --style=plain --theme=\"Monokai Extended\" {}'"
|
||||
export FZF_DEFAULT_OPTS="--cycle -e --layout=reverse --height=40% --preview='bat --color=always --tabs=2 --style=plain --theme=\"Monokai Extended\" {}'"
|
||||
export FZF_CTRL_R_OPTS="--cycle -e --layout=reverse --height=40% --preview=''"
|
||||
_fzf_compgen_path() {
|
||||
fd -H . "$1"
|
||||
}
|
||||
_fzf_compgen_dir() {
|
||||
fd -H --type d . "$1"
|
||||
}
|
||||
|
||||
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue