3 ms·
When you start vim again and hit ctrl+p, does it do all that over again?
by notJim 15y ago
When you start vim again and hit ctrl+p, does it do all that over again?
- lloeki 15y agoIf I don't quit vim, and do Ctrl+P, things got cached (which you force-refresh with F5) so it's instant. If I quit and restart vim, the Ctrl-P cache is invalidated thus it's scanning again, but it's down to 3~5s since disk reads got cached by the OS.
- westcave 15y agoYes. But you can specify a local cache file if you want... in which case it would not start over when you restart.
- notJim 15y agoAh, I see. I added a similar feature to Command-T, because scanning one of my projects trees takes a couple seconds.