Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5bfbb54

Browse files
authored
Merge pull request #231 from JohnMaguire/fix-vim-help
Fix token creation URL and file path in docs
2 parents 34e0f0a + 07bfa2c commit 5bfbb54

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎doc/gist-vim.txt

Lines changed: 6 additions & 6 deletions
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)

AltStyle によって変換されたページ (->オリジナル) /