helix
helix copied to clipboard
Slow autocomplete when opening files over SSHFS
Summary
The editor becomes extremely slow when trying to open files (via :o
) that are accessed via SSHFS mounts. Every new character takes 1-2 seconds to show up, as if Helix is re-scanning the directory with every keystroke. ssh-ping
reports latency to the remote server as ~50 ms and my SSH terminals are very responsive, so I don't suspect a bad connection.
I usually open Helix inside an SSH terminal to edit files "locally" on the server. I ran the above experiment to see if the "local Helix + remote filesystem" setup was better than the "remote Helix + local filesystem".
Reproduction Steps
I tried this:
- Mount $DIRECTORY over SSHFS
- Open Helix
- Try to open a file under $DIRECTORY with
:o
- Type path to the file.
I expected this to happen:
Editor responds quickly to keystrokes.
Instead, this happened:
Editor becomes very slow to respond.
Helix log
~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines
Platform
Linux
Terminal Emulator
GNOME Terminal
Installation Method
Download binary from releases page.
Helix Version
helix 24.7 (079f5442)