chore: nvim hide more, fzf preview tree level 1
parent
611c1bfe61
commit
37c5f53c29
|
@ -170,7 +170,11 @@ require("lazy").setup({
|
||||||
custom = {
|
custom = {
|
||||||
"\\.bin$",
|
"\\.bin$",
|
||||||
"\\.class$",
|
"\\.class$",
|
||||||
|
"\\.exe$",
|
||||||
|
"\\.hex$",
|
||||||
"\\.out$",
|
"\\.out$",
|
||||||
|
"\\.pdf$",
|
||||||
|
"\\.zip$",
|
||||||
"^\\.DS_Store$",
|
"^\\.DS_Store$",
|
||||||
"^\\.git$",
|
"^\\.git$",
|
||||||
"^\\.idea$",
|
"^\\.idea$",
|
||||||
|
|
|
@ -31,7 +31,7 @@ if command -v fzf &>/dev/null; then
|
||||||
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
--color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \
|
||||||
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"
|
--color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8"
|
||||||
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range=:500 {}'"
|
export FZF_CTRL_T_OPTS="--preview 'bat --color=always --line-range=:500 {}'"
|
||||||
export FZF_ALT_C_OPTS="--preview 'exa --tree {}'"
|
export FZF_ALT_C_OPTS="--preview 'exa --tree --level 1 {}'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Alias
|
# Alias
|
||||||
|
|
Loading…
Reference in New Issue