From 07bfa2cb4fce0a5cd0287dfb5e8db7a087abd3ab Mon Sep 17 00:00:00 2001 From: John Maguire Date: Sun, 21 Feb 2021 15:48:12 -0500 Subject: [PATCH] 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. --- doc/gist-vim.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/gist-vim.txt b/doc/gist-vim.txt index 88c46d1..2445d4c 100644 --- a/doc/gist-vim.txt +++ b/doc/gist-vim.txt @@ -275,7 +275,7 @@ rtp: - autoload/gist.vim - plugin/gist.vim -If you want to uninstall gist.vim, remember to also remove `~/.vim-gist`. +If you want to uninstall gist.vim, remember to also remove `~/.gist-vim`. You need to install webapi-vim also: @@ -295,7 +295,7 @@ REQUIREMENTS *vim-gist-requirements* ============================================================================== SETUP *vim-gist-setup* -This plugin uses GitHub API v3. The authentication value is stored in `~/.vim-gist`. +This plugin uses GitHub API v3. The authentication value is stored in `~/.gist-vim`. vim-gist provides two ways to authenticate against the GitHub APIs. 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 If you have two-factor authentication enabled on GitHub, you'll see the message "Must specify two-factor authentication OTP code." In this case, you need to -create a "Personal Access Token" on GitHub's "Account Settings" page -(https://github.com/settings/applications) and place it in a file -named ~/.vim-gist like this: +create a "Personal Access Token" on GitHub's "Developer settings" page +(https://github.com/settings/tokens) with the gist scope and place it in a file +named ~/.gist-vim like this: > token xxxxx < @@ -334,7 +334,7 @@ NOTE: the username is optional if you only send anonymous gists. FAQ *vim-gist-faq* Q. :Gist returns a Forbidden error -A. Try deleting ~/.vim-gist and authenticating again. +A. Try deleting ~/.gist-vim and authenticating again. ============================================================================== THANKS *vim-gist-thanks*