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

Each keypress has cumulative delay when working on a slow network share #12231

Open
chtenb opened this issue Dec 10, 2024 · 1 comment
Open

Comments

@chtenb
Copy link
Contributor

chtenb commented Dec 10, 2024

Reproduction
Open a file on a slow network share and notice that each keypress has a delay (in my case about 2 seconds). Even if I press 5 keys in quick succession, they still take 10 seconds in total to complete. This is not only for selection movements, but also keystrokes in command mode.

If I open a scratch buffer with :new, this slowness goes away immediately.
If I open a file on my local disk (which is normally fast) helix remains slow, until I change the cwd to be outside the network share as well.
Setting the language to text with :set-language doesn't change the responsiveness.

Operating system: windows 11
Logs: show nothing out of interest
Installation method: compile from source
Config: I passed -c /dev/null to ensure default config

Let me know if I can do any other tests to troubleshoot this issue.

In summary
If either the current file or the cwd is on a slow network share, each keypress has a cumulative delay

@justinlovinger
Copy link

Try disabling path-completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants