-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Description
I do a lot of work with network mapped directories with a large number of entries. Opening a file with :open/:e causes Helix to attempt to provide file suggestions synchronously. Keystrokes to the command line are blocked, often for seconds at a time.
Beyond the initial hang, the delay happens for every / in the path, which makes opening files by their fully qualified path prohibitively slow. I often open files using their fully-qualified names captured from another terminal app (which seems to be a common setup), so this case is particularly rough for me.
I've searched through the issue tracker but haven't found solutions to this issue. As someone unfamiliar with Helix's internals, the fixes I imagine for this might include:
- Adding a config toggle for disabling command mode suggestions. This seems to have been the subject of a previous issue but it looks like it never got implemented.
- Add a configurable delay so that suggestion fetching doesn't happen immediately. This seems especially well suited for automated workflows with very fast key inputs.
- Make suggestion fetching non-blocking.
Apologies in advance if one of these already exists and I just missed it. I'd also be willing to try writing a fix for this if someone can provide code pointers.