Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync note to github #167

Open
xiaozongyang opened this issue Jun 2, 2018 · 4 comments
Open

Sync note to github #167

xiaozongyang opened this issue Jun 2, 2018 · 4 comments

Comments

@xiaozongyang
Copy link

Hi @xolox, zongyang here!

Thx for your works about great and convenient plugin -- vim-notes. I am wondering whether there is any configuration or extensions for sync local notes folder with github.

I want to configure a github repo (e.g. xiaozyang/note.git) in vim-notes, and corresponding behaviors are:

  • once a note updated these changes would commit and push to configured github repo
  • If I use vim-note in a new PC and configure the GitHub repo I am intended to pull remote notes
  • Additional: the frequency and sync condition has multiple options

I'd like to participate the work if there was no avaliable staff.

Thank you for reading this, hoping your reply !

@samueljoli
Copy link

Yeah I think this would be a great feature!!

@XiaoZYang Are you manually doing this now?

@xiaozongyang
Copy link
Author

Not yet. I open this issue to make sure that it is needed and whether there are similar works already. If it's not duplicated works, I'd like to have a try! :)

@iamkirkbater
Copy link

I set up something similar with OneDrive that we use at work. I created a new folder in OneDrive and then moved the user folder there, and then symlinked the user folder to OneDrive.

Then on any other systems I use I will just need to symlink the user folder again to OneDrive.

@liralon
Copy link

liralon commented Mar 21, 2020

+1 for the feature request.

I would also like that the git commands will be executed asynchronously, not requiring the vim user to wait for them to complete to continue editing his notes.

Another option is syncing to something such as Google Drive directory as a response to writes to notes files. That may be a better fit for notes use-case if there is no need to save history.

In addition, the feature should have the ability to specify an include-list. i.e. A list of notes that should sync. As the user may not want to sync all the notes files he have locally to the remote location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants