281
281
- autoload/gist.vim
282
282
- plugin/gist.vim
283
283
284
- If you want to uninstall gist.vim, remember to also remove `~/.vim- gist ` .
284
+ If you want to uninstall gist.vim, remember to also remove `~/.gist-vim ` .
285
285
286
286
You need to install webapi-vim also:
287
287
@@ -301,7 +301,7 @@ REQUIREMENTS *vim-gist-requirements*
301
301
==============================================================================
302
302
SETUP *vim-gist-setup*
303
303
304
- This plugin uses GitHub API v3. The authentication value is stored in `~/.vim- gist ` .
304
+ This plugin uses GitHub API v3. The authentication value is stored in `~/.gist-vim ` .
305
305
vim-gist provides two ways to authenticate against the GitHub APIs.
306
306
307
307
First, you need to set your GitHub username in global git config:
@@ -316,9 +316,9 @@ be kept for later use. You can revoke the token at any time from the list of
316
316
317
317
If you have two-factor authentication enabled on GitHub, you'll see the message
318
318
"Must specify two-factor authentication OTP code." In this case, you need to
319
- create a "Personal Access Token" on GitHub's "Account Settings " page
320
- (https://github.com/settings/applications ) and place it in a file
321
- named ~/.vim- gist like this:
319
+ create a "Personal Access Token" on GitHub's "Developer settings " page
320
+ (https://github.com/settings/tokens ) with the gist scope and place it in a file
321
+ named ~/.gist-vim like this:
322
322
>
323
323
token xxxxx
324
324
<
@@ -340,7 +340,7 @@ NOTE: the username is optional if you only send anonymous gists.
340
340
FAQ *vim-gist-faq*
341
341
342
342
Q. :Gist returns a Forbidden error
343
- A. Try deleting ~/.vim- gist and authenticating again.
343
+ A. Try deleting ~/.gist-vim and authenticating again.
344
344
345
345
==============================================================================
346
346
THANKS *vim-gist-thanks*
0 commit comments