fzf completely reindexes on every Ctrl+T

Created on 9 Dec 2016  路  1Comment  路  Source: junegunn/fzf

  • Category

    • [x] fzf binary

    • [ ] fzf-tmux script

    • [ ] Key bindings

    • [x] Completion

    • [ ] Vim

    • [ ] Neovim

    • [ ] Etc.

  • OS

    • [x] Linux

    • [ ] Mac OS X

    • [ ] Windows

    • [ ] Windows Subsystem for Linux

    • [ ] Etc.

  • Shell

    • [ ] bash

    • [x] 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.

question

Most helpful comment

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.

>All comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sassanh picture sassanh  路  3Comments

chrisamow picture chrisamow  路  3Comments

skamsie picture skamsie  路  3Comments

aleclarson picture aleclarson  路  3Comments

jberglinds picture jberglinds  路  3Comments