275
275
- autoload/gist.vim
276
276
- plugin/gist.vim
277
277
278
- If you want to uninstall gist.vim, remember to also remove `~/.vim- gist ` .
278
+ If you want to uninstall gist.vim, remember to also remove `~/.gist-vim ` .
279
279
280
280
You need to install webapi-vim also:
281
281
@@ -295,7 +295,7 @@ REQUIREMENTS *vim-gist-requirements*
295
295
==============================================================================
296
296
SETUP *vim-gist-setup*
297
297
298
- This plugin uses GitHub API v3. The authentication value is stored in `~/.vim- gist ` .
298
+ This plugin uses GitHub API v3. The authentication value is stored in `~/.gist-vim ` .
299
299
vim-gist provides two ways to authenticate against the GitHub APIs.
300
300
301
301
First, you need to set your GitHub username in global git config:
@@ -310,9 +310,9 @@ be kept for later use. You can revoke the token at any time from the list of
310
310
311
311
If you have two-factor authentication enabled on GitHub, you'll see the message
312
312
"Must specify two-factor authentication OTP code." In this case, you need to
313
- create a "Personal Access Token" on GitHub's "Account Settings " page
314
- (https://github.com/settings/applications ) and place it in a file
315
- named ~/.vim- gist like this:
313
+ create a "Personal Access Token" on GitHub's "Developer settings " page
314
+ (https://github.com/settings/tokens ) with the gist scope and place it in a file
315
+ named ~/.gist-vim like this:
316
316
>
317
317
token xxxxx
318
318
<
@@ -334,7 +334,7 @@ NOTE: the username is optional if you only send anonymous gists.
334
334
FAQ *vim-gist-faq*
335
335
336
336
Q. :Gist returns a Forbidden error
337
- A. Try deleting ~/.vim- gist and authenticating again.
337
+ A. Try deleting ~/.gist-vim and authenticating again.
338
338
339
339
==============================================================================
340
340
THANKS *vim-gist-thanks*
0 commit comments