Skip to content

Commit 07bfa2c

Browse files
committed
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 4a21031 commit 07bfa2c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: doc/gist-vim.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ rtp:
275275
- autoload/gist.vim
276276
- plugin/gist.vim
277277

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

280280
You need to install webapi-vim also:
281281

@@ -295,7 +295,7 @@ REQUIREMENTS *vim-gist-requirements*
295295
==============================================================================
296296
SETUP *vim-gist-setup*
297297

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

301301
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
310310

311311
If you have two-factor authentication enabled on GitHub, you'll see the message
312312
"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:
316316
>
317317
token xxxxx
318318
<
@@ -334,7 +334,7 @@ NOTE: the username is optional if you only send anonymous gists.
334334
FAQ *vim-gist-faq*
335335

336336
Q. :Gist returns a Forbidden error
337-
A. Try deleting ~/.vim-gist and authenticating again.
337+
A. Try deleting ~/.gist-vim and authenticating again.
338338

339339
==============================================================================
340340
THANKS *vim-gist-thanks*

0 commit comments

Comments
 (0)