mirror of
https://github.com/amix/vimrc
synced 2025-06-30 11:54:59 +08:00
Updated plugins
This commit is contained in:
@ -281,7 +281,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:
|
||||
|
||||
@ -301,7 +301,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:
|
||||
@ -316,9 +316,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
|
||||
<
|
||||
@ -340,7 +340,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*
|
||||
|
Reference in New Issue
Block a user