-
Notifications
You must be signed in to change notification settings - Fork 10
Sync across devices
Saltaformajo edited this page Oct 8, 2023
·
1 revision
Sessions and history can be synced across your devices with a help of such tools as rsync, Syncthing, Nextcloud, Dropbox, etc.
Set plugin's option datapath
to a directory, that will be synced by external app:
--- ...
datapath = "~/SyncedDir/nvim-data"
Projects and sessions path are stored relative to the $HOME directory. So if you are using the same path on all devices relative to home, it will work for you.
If you have different username, it will not cause a problem (just don't hard-code it in your config, use a ~
).