Please read help for details.
Dein.vim is a dark powered Vim/Neovim plugin manager.
Note: If you use Vim 7.4, please use dein.vim ver.1.5 instead.
If you need vim-plug like install UI, you can use dein-ui.vim. https://github.com/wsdjeg/dein-ui.vim
Note: You must define the installation directory before to use dein. The directory that you will want to use depends on your usage.
For example, ~/.vim/bundles
or ~/.cache/dein
or ~/.local/share/dein
.
dein.vim does not define a default installation directory.
You must not set the installation directory as ~/.vim/plugin
or
~/.config/nvim/plugin
.
For Unix/Linux or Mac OS X
curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
# For example, we just use `~/.cache/dein` as installation directory
sh ./installer.sh ~/.cache/dein
For Windows(PowerShell)
Invoke-WebRequest https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.ps1 -OutFile installer.ps1
# Allow to run third-party script
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# For example, we just use `~/.cache/dein` as installation directory
./installer.ps1 ~/.cache/dein
if &compatible
set nocompatible
endif
" Add the dein installation directory into runtimepath
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
if dein#load_state('~/.cache/dein')
call dein#begin('~/.cache/dein')
call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim')
call dein#add('Shougo/deoplete.nvim')
if !has('nvim')
call dein#add('roxma/nvim-yarp')
call dein#add('roxma/vim-hug-neovim-rpc')
endif
call dein#end()
call dein#save_state()
endif
filetype plugin indent on
syntax enable
:call dein#install()
Faster than NeoBundle
Simple
No commands, Functions only to simplify the implementation
Easy to test and maintain
No Vundle/NeoBundle compatibility
neovim/Vim8 asynchronous API installation support
Local plugin support
Non github plugins support
Go like clone directory name ex:"github.com/{user}/{repository}"
Merge the plugins directories automatically to avoid long 'runtimepath'
Other types support (zip, svn, hg, ...)
Metadata repository support
Please read :help dein-options
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。