mattn/vim-gist

Post failed:

pinggit opened this issue · 1 comments

I got this today:

Posting it to gist...
Post failed:
Press ENTER or type command to continue

on the other hand, my Gist -l gives some output, but just a few lines, the "more..." does not work.

This happens most likely after I changed my github credential.

but I've tried below actions:

  • regenerated token and updated g:gist_token
  • updated vim-gist to latest
  • restarted vim

nothing works so far.

also for some reason I do not find the ~/.gist-vim file, I'm not sure if this is required though.

this works:

#233 (comment)

the problem in my case is that I'm trying to upload a gist which contains the github token, so first time the gist update works, then token deleted, leading to all later update broken.

one solution is to keep the token in local file .gist-vim which is why it works.