xolox / vim-notes

Easy note taking in Vim
http://peterodding.com/code/vim/notes/
1.6k stars 110 forks source link

Sync note to github #167

Open xiaozongyang opened 6 years ago

xiaozongyang commented 6 years ago

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:

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

Thank you for reading this, hoping your reply !

samueljoli commented 5 years ago

Yeah I think this would be a great feature!!

@XiaoZYang Are you manually doing this now?

xiaozongyang commented 5 years ago

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 commented 5 years ago

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 commented 4 years ago

+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.