I've been using fzf
for a while now and finding it really great, however there is one thing I want it to do but I don't think I'm Googling the correct words.
I use it with neovim
on a zsh
terminal and what I want to do is for it to search only the target directory that I've typed out.
$ vi folder_name/ # Ctrl + T here
Currently, when I hit Ctrl+T
it searches the current directory and not just the content of folder_name
.
Installed via Plug
and in .zshrc
I have:
source ~/.fzf.zsh
export FZF_DEFAULT_COMMAND='ag --hidden --ignore .git -l -g ""'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
I tried removing the export lines as I thought it might be its default behavior but no dice.
How can I achieve this?
question from:
https://stackoverflow.com/questions/66060649/fzf-search-the-target-folder 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…