Post #2701922
2025-02-06 00:09 UTC
@blinry@chaos.social The higher level expression of this might be that vim can edit remote things just fine. Correlating and syncing local files with remote things is for another (sync) tool, whose configs might be understood by a vim plugin. Just like I get changed-line marks when vim sees something managed in git, it could autoconnect if it finds that next to a file there is a `.ethersync` file (from a hypothetical tool that keeps those files pulled up to date for offline reading even when no editor runs).
Replies (1)
-
@blinry@chaos.social 2025-02-06 00:22
@chrysn@chaos.social Hah, @ethersync@fosstodon.org *is* that tool you're describing :) You run it as a daemon, and it will synchronize directories. If an editor opens a file, it will indeed look for an .ethersync/ directory, and then "take ownership" of that file (so that the daemon doesn't change the file under it's ass). Full docs here, if you wanna give it a try: https://ethersync.github.io/ethersync/