I use https://github.com/mattn/gist-vim and install it as a submodule with the vim pathogen in my package directory.
I also installed
git config --global github.user calvinchengx git config --global github.token [mysecrettoken]
I can get commands like Gist -l
to work fine, this command that gets the list of gists belongs to me. I can also easily view previews of other encoders with Gist -l [thegithubusername]
.
But I can not post a new gist for github. When I try to publish a new text, I get the following error:
Posting it to gist... Post failed: Press ENTER or type command to continue
No useful error message is displayed. So Iβm not exactly what the problem is. Is there any way to find out that my error is (not familiar with debugging vim scripts)?
Rate any suggestions!
I tried to configure again by pulling the last gist-vim, but this is the error I get: -
source share