1995eaton / chromium-vim

Vim bindings for Google Chrome.
https://chrome.google.com/webstore/detail/cvim/ihlenndgcmojhcghmfjfneahoeklbjjh
MIT License
2.25k stars 326 forks source link

Cannot save to gist, only read, is this one-way sync only? #749

Open otterpro opened 2 years ago

otterpro commented 2 years ago

I'm not sure if I'm using this correctly, but when I set the gist URL, I can read the gist content, but when I save and sync, it doesn't write/save to gist. Is this a limitation of the extension? I was expecting 2 way sync. From what I see, there's no authentication functionality, ie OAuth to github. If so, that's fine, I can just use gist directly to write config setting. Thanks.

b-coimbra commented 2 years ago

It is one-way sync only. The auth functionality shouldn't be too difficult to implement, but it would require the user to create a personal access token with the gist scope and pass it to the extension.

I might implement this in the future on my own fork (vimch).