Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fzf completely reindexes on every Ctrl+T #763

jakestanley opened this issue Dec 9, 2016 · 1 comment


None yet
2 participants
Copy link

commented Dec 9, 2016

  • Category
    • fzf binary
    • fzf-tmux script
    • Key bindings
    • Completion
    • Vim
    • Neovim
    • Etc.
  • OS
    • Linux
    • Mac OS X
    • Windows
    • Windows Subsystem for Linux
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

I have a number of branches from an SVN repository checked out. Sometimes I need to compare files from different versions, but frustratingly fzf reindexes every time when I use the Ctrl+T shortcut. I may also be doing something wrong here, but I've tried searching zsh/fzf caching/indexing but have found nothing.


This comment has been minimized.

Copy link

commented Dec 10, 2016

fzf is a filter (think of it as an interactive version of grep) and is not responsible for indexing the file system. It's beyond the scope of this project. For CTRL-T, it simply reads the output of the command specified in FZF_CTRL_T_COMMAND which defaults to a find command.

Set FZF_CTRL_T_COMMAND to a smarter command that caches the result.

@junegunn junegunn added the question label Dec 10, 2016

@junegunn junegunn closed this Dec 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.