mattn / vim-gist

Vim plugin for Gist
http://www.vim.org/scripts/script.php?script_id=2423
1.69k stars 131 forks source link

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

Open nerdrew opened 11 years ago

nerdrew commented 11 years ago

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>

geetarista commented 11 years ago

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

mattn commented 11 years ago

Do you mean ~/.gist-vim ?

geetarista commented 11 years ago

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>
Rican7 commented 10 years ago

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