mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Change raw.github.com url (#58)
https://developer.github.com/changes/2014-04-25-user-content-security/
This commit is contained in:
parent
da24f714e0
commit
68c7fbbf9d
10
README.md
10
README.md
@ -1,15 +1,15 @@
|
||||
![vim-plug](https://raw.github.com/junegunn/vim-plug/master/plug.png)
|
||||
![vim-plug](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.png)
|
||||
![travis-ci](https://travis-ci.org/junegunn/vim-plug.svg?branch=master)
|
||||
|
||||
A minimalist Vim plugin manager.
|
||||
|
||||
![](https://raw.github.com/junegunn/i/master/vim-plug/installer.gif)
|
||||
![](https://raw.githubusercontent.com/junegunn/i/master/vim-plug/installer.gif)
|
||||
|
||||
### Pros.
|
||||
|
||||
- Easier to setup: Single file. No boilerplate code required.
|
||||
- Easier to use: Concise, intuitive syntax
|
||||
- [Super-fast](https://raw.github.com/junegunn/i/master/vim-plug/40-in-4.gif)
|
||||
- [Super-fast](https://raw.githubusercontent.com/junegunn/i/master/vim-plug/40-in-4.gif)
|
||||
parallel installation/update (requires
|
||||
[+ruby](https://github.com/junegunn/vim-plug/wiki/ruby))
|
||||
- On-demand loading to achieve
|
||||
@ -20,13 +20,13 @@ A minimalist Vim plugin manager.
|
||||
|
||||
### Usage
|
||||
|
||||
[Download plug.vim](https://raw.github.com/junegunn/vim-plug/master/plug.vim)
|
||||
[Download plug.vim](https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim)
|
||||
and put it in ~/.vim/autoload
|
||||
|
||||
```sh
|
||||
mkdir -p ~/.vim/autoload
|
||||
curl -fLo ~/.vim/autoload/plug.vim \
|
||||
https://raw.github.com/junegunn/vim-plug/master/plug.vim
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
```
|
||||
|
||||
Edit your .vimrc
|
||||
|
4
plug.vim
4
plug.vim
@ -5,7 +5,7 @@
|
||||
"
|
||||
" mkdir -p ~/.vim/autoload
|
||||
" curl -fLo ~/.vim/autoload/plug.vim \
|
||||
" https://raw.github.com/junegunn/vim-plug/master/plug.vim
|
||||
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
"
|
||||
" Edit your .vimrc
|
||||
"
|
||||
@ -68,7 +68,7 @@ let g:loaded_plug = 1
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
let s:plug_source = 'https://raw.github.com/junegunn/vim-plug/master/plug.vim'
|
||||
let s:plug_source = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
let s:plug_buf = get(s:, 'plug_buf', -1)
|
||||
let s:mac_gui = has('gui_macvim') && has('gui_running')
|
||||
let s:is_win = has('win32') || has('win64')
|
||||
|
Loading…
Reference in New Issue
Block a user