[英]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. nerdtree 或 fzf ignores.env,我的工作文件夹中有一个 .env,但我在 fzf 和 nerdtree 中都找不到它。
Here's my vimrc: https://github.com/dipzera/nvim这是我的 vimrc: https://github.com/dipzera/nvim
For NERDTree, try对于 NERDTree,请尝试
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.对于 fzf,这取决于您正在运行什么命令/如果您使用的是
ag
或rg
,但您需要向 arguments 添加一个“隐藏”标志。 For instance,例如,
let $FZF_DEFAULT_COMMAND='find -L'
will make it so that :FZF
will let you search for hidden files using find
.将使
:FZF
允许您使用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.我相信您也可以在
.bashrc
而不是init.vim
中设置此变量,但这取决于您。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.