mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-23 20:45:31 -07:00
Simpler gist usage
parent
636e6bc92f
commit
f0f027ff35
5
faq.md
5
faq.md
@ -30,11 +30,12 @@ augroup END
|
||||
|
||||
### Gist as plugin
|
||||
|
||||
Unlike [NeoBundle](https://github.com/Shougo/neobundle.vim), vim-plug does not natively support installing small Vim plugins from Gist. But there is a workaround if you really want it.
|
||||
vim-plug does not natively support installing small Vim plugins from Gist.
|
||||
But there is a workaround if you really want it.
|
||||
|
||||
```vim
|
||||
Plug 'https://gist.github.com/952560a43601cd9898f1.git',
|
||||
\ { 'dir': g:plug_home.'/xxx/plugin', 'rtp': '..' }
|
||||
\ { 'as': 'xxx', 'do': 'mkdir -p plugin; cp -f *.vim plugin/' }
|
||||
```
|
||||
|
||||
### Migrating from other plugin managers
|
||||
|
Loading…
Reference in New Issue
Block a user