Skip to content

Commit c894fb8

Browse files
johnmaguireallex
authored andcommitted
Fix token creation URL and file path in docs
Similar to #226 though I made these changes before finding the pull request. In addition to the changes in #226, it updates the URL for the Personal Access Token to the correct one.
1 parent c666f7d commit c894fb8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/gist-vim.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ rtp:
281281
- autoload/gist.vim
282282
- plugin/gist.vim
283283

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`.
285285

286286
You need to install webapi-vim also:
287287

@@ -301,7 +301,7 @@ REQUIREMENTS *vim-gist-requirements*
301301
==============================================================================
302302
SETUP *vim-gist-setup*
303303

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`.
305305
vim-gist provides two ways to authenticate against the GitHub APIs.
306306

307307
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
316316

317317
If you have two-factor authentication enabled on GitHub, you'll see the message
318318
"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:
322322
>
323323
token xxxxx
324324
<
@@ -340,7 +340,7 @@ NOTE: the username is optional if you only send anonymous gists.
340340
FAQ *vim-gist-faq*
341341

342342
Q. :Gist returns a Forbidden error
343-
A. Try deleting ~/.vim-gist and authenticating again.
343+
A. Try deleting ~/.gist-vim and authenticating again.
344344

345345
==============================================================================
346346
THANKS *vim-gist-thanks*

0 commit comments

Comments
 (0)