Comments (2)
Hi Greg,
Thanks for suggesting that! Actually the max_files
option does work for me and solve the primary issue of by mistake scanning very large directories and having the UI blocked. I added the suggested 100,000, and it takes maybe only two to three seconds for opening for me which is good in this case.
Since your suggestion solves the issue for me, feel free to close this or keep it open while considering to add the async if there are no downsides to it, as you wish.
from command-t.
So, for now, the best way to mitigate this kind of thing is to set max_files
as described in the docs. (This is assuming you're using the Lua implementation.)
I agree that it would be nice to be fully async, so I'm going to retitle this and think about it. The main problem with going async is that it may add overhead, so that is why I haven't done it in all these years, instead preferring to make the scanning as fast as possible to try and mitigate the downsides of doing the scanning in single-threaded mode. Note also that some of the alternative scanners might be faster than the default one, like the Ripgrep scanner, or the Git-based scanner, or the Watchman-based scanner etc. Those are mentioned in the docs too.
from command-t.
Related Issues (20)
- [Question] why does RubyGems version of this package contains '../..' in the gem data path? HOT 4
- Error on Compiling Command-T Plugin (clang) HOT 17
- use `watch-project` rather than deprecated `watch` HOT 3
- Release plan for Lua rewrite HOT 1
- 🆕 Command-T 6.0.0 release — compendium issue HOT 42
- 💡 Ideas for improvements — compendium issue HOT 7
- Getting aborted when running CommnadT in lua version HOT 7
- Deal with filenames containing carriage returns 🤦
- Use Lua Version with Vim Plug HOT 1
- Can only type one letter in Popup window HOT 5
- Missing documentation about the initial usage HOT 2
- Backspace key closes Command-T and enters insert mode HOT 5
- Installation Instructions Unclear HOT 4
- bug: `invalid option '%-100' to 'format'` HOT 2
- Implement Lua equivalent of `g:CommandTTraverseSCM` setting HOT 5
- Upgrade issues - MacOS Ventura - command-t.vim could not load the C extension HOT 2
- Opening multiple files from command-line `:CommandTBuffer` only sees the first HOT 2
- Trouble getting command-t to work HOT 4
- Add timeout during long filesystem traversal HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from command-t.