Dein.vim is a dark powered Vim/Neovim plugin manager.
- Vim 7.4 or above or NeoVim.
- "rsync" command in $PATH
- "git" command in $PATH (if you want to install github or vim.org plugins)
-
Run below script.
$ curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh $ sh ./installer.sh {specify the installation directory}
-
Edit your .vimrc like this.
if &compatible
set nocompatible
endif
set runtimepath^={path to dein.vim directory}
call dein#begin(expand('~/.cache/dein'))
call dein#add({path to dein.vim directory})
call dein#add('Shougo/neocomplete.vim')
...
call dein#end()
filetype plugin indent on
-
Faster than NeoBundle
-
Simple
-
No commands, Functions only
-
Easy to test and maintain
-
No Vundle/NeoBundle compatibility
-
Other types support (zip, svn, hg, ...)
-
Unite log viewer
-
Metadata repository support
Some common options. For a more detailed list, run :h dein-options
Option | Type | Description |
---|---|---|
name |
string |
A name for the plugin. If it is omitted, the tail of the repository name will be used |
rev |
string |
The revision number or branch/tag name for the repo |
build |
string |
Command to run after the plugin is installed |
on_ft |
string or list |
Load a plugin for the current filetype |
on_cmd |
string or list |
Load the plugin for these commands |