简体   繁体   中英

NerdTree or FZF ignores .env files

Either nerdtree or fzf ignores.env, I have a.env in my working folder, but I can't find it with fzf nor in nerdtree.

Here's my vimrc: https://github.com/dipzera/nvim

For NERDTree, try

let NERDTreeShowHidden=1

For fzf, it depends on what command you're running/if you're using ag or rg , but you'll need to add a "hidden" flag to the arguments. For instance,

let $FZF_DEFAULT_COMMAND='find -L'

will make it so that :FZF will let you search for hidden files using find . You'll want to modify that to use whatever program you prefer instead. I believe you can also set this variable in your .bashrc instead of in your init.vim but that's up to you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM