chore: nvim hide more, fzf preview tree level 1

main
sudo pacman -Syu 2023-09-13 12:54:17 +07:00
parent 611c1bfe61
commit 37c5f53c29
2 changed files with 5 additions and 1 deletions

View File

@ -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$",

View File

@ -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