mirror of https://github.com/helix-editor/helix
Implements the idea raised by @porridgewithraisins in this comment: https://github.com/helix-editor/helix/issues/1125#issuecomment-3073782827 The implementation was modeled after the implementation of the autosave feature. Here are some example snippets of configuration for this feature: - disable auto-reloading (default) ```toml [editor] auto-reload = false ``` or ```toml [editor.auto-reload] focus-gained = false ``` - auto-reload on focus ```toml [editor] auto-reload = true ``` or ```toml [editor.auto-reload] focus-gained = true ``` - auto-reload at some periodically at time interval (5 seconds in this example) ```toml [editor.auto-reload] periodic.enable = true periodic.interval = 5000 ``` - of course, you could have it reload on focus and at an interval too: ```toml [editor.auto-reload] focus-gained = true periodic.enable = true periodic.interval = 5000 ``` |
||
---|---|---|
.. | ||
src | ||
tests/encoding | ||
Cargo.toml |