Closed
Description
Summary
When completing a directory with a large quanity of files and folders in the prompt, say with :o
, if the directory in question has thousands of inodes, as does the /nix/store
when using Nix, for example, typing becomes extremely laggy and difficult. Even pasting text takes a long time, and worse, makes helix unresponsive until finished.
I would guess that the entire directory is being crawled on each keystroke and that's why it takes so long.
Reproduction Steps
The following asciinema shows a text being pasted into the prompt directly from the system clipboard:
https://asciinema.org/a/kV7WxOfdvmFxNwEUsPzQPDogT
Helix log
No relevant log segment
Platform
Linux
Terminal Emulator
kitty 0.25.2
Helix Version
22.05