vim-gist icon indicating copy to clipboard operation
vim-gist copied to clipboard

Can the readme include info on the gist-vim file format?

Open nerdrew opened this issue 12 years ago • 4 comments

I have two factor auth enabled, so I can't enter my password. I can generate my own OAuth token and put it in the file, if I know that the file format looks like:

token <token>

nerdrew avatar Sep 05 '13 20:09 nerdrew

:+1: I had to look at the source to figure this out.

geetarista avatar Sep 10 '13 01:09 geetarista

Do you mean ~/.gist-vim ?

mattn avatar Sep 10 '13 01:09 mattn

Yes. Since the plugin doesn't work with two-factor auth, I just copied a token I made to ~/.gist-vim like this:

token <token>

geetarista avatar Sep 10 '13 01:09 geetarista

Even though the ~/.gist-vim file can be edited manually, this should be added to the prompt when first auth'ing through gist-vim.

Rican7 avatar Jan 15 '14 23:01 Rican7