From 37c5f53c2986011e5f2cb0b0a3563498a98888cb Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Wed, 13 Sep 2023 12:54:17 +0700 Subject: [PATCH] chore: nvim hide more, fzf preview tree level 1 --- data/nvim/init.lua | 4 ++++ data/zsh/bottom-zshrc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/data/nvim/init.lua b/data/nvim/init.lua index 3865d38..a6e783d 100644 --- a/data/nvim/init.lua +++ b/data/nvim/init.lua @@ -170,7 +170,11 @@ require("lazy").setup({ custom = { "\\.bin$", "\\.class$", + "\\.exe$", + "\\.hex$", "\\.out$", + "\\.pdf$", + "\\.zip$", "^\\.DS_Store$", "^\\.git$", "^\\.idea$", diff --git a/data/zsh/bottom-zshrc b/data/zsh/bottom-zshrc index ecaf5c9..256608d 100644 --- a/data/zsh/bottom-zshrc +++ b/data/zsh/bottom-zshrc @@ -31,7 +31,7 @@ if command -v fzf &>/dev/null; then --color=fg:#cdd6f4,header:#f38ba8,info:#cba6f7,pointer:#f5e0dc \ --color=marker:#f5e0dc,fg+:#cdd6f4,prompt:#cba6f7,hl+:#f38ba8" 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 # Alias