Open
Description
The title says it all, but essentially a way to sync collections between multiple devices through a git server.
A possible work flow could look like how pass does it
- initialize a git repo
:CurlCollection global git init
this could setup a git repo in the .local/share/nvim/curl_cache/custom
directory for global collections
- set up a remote
:CurlCollection global git remote add origin git@gitserver.com:user/curlcollections.git
- pushing to remote
:CurlCollection global git push
etc.
Or maybe as a single command like so
:CurlCollection push git@gitserver.com:user/curlcollections.git // to push to remote
:CurlCollection pull git@gitserver.com:user/curlcollections.git // to pull changes
Additional notes
- could utilize fugitive to interface with git.
Some Caveats
- I'm not sure how you can handle scoped collections since scope is specific to a device
- every change in a file need to be added as a commit or could be created as a one commit before the sync.
Metadata
Metadata
Assignees
Labels
No labels