Skip to content

blablatros/dein.vim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Join the chat at https://gitter.im/Shougo/dein.vim Build Status

Dein.vim is a dark powered Vim/Neovim plugin manager.

Requirements

  • Vim 7.4 or above or NeoVim.
  • "rsync" command in $PATH (UNIX)
  • "xcopy" command in $PATH (Windows)
  • "git" command in $PATH (if you want to install github or vim.org plugins)

Quick start

If you are using Unix/Linux or Mac OS X.

  1. Run below script.

    $ curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh
    $ sh ./installer.sh {specify the installation directory}
    
  2. Edit your .vimrc like this.

    if &compatible
      set nocompatible
    endif
    set runtimepath+={path to dein.vim directory}
    
    call dein#begin({path to plugin base path directory})
    
    call dein#add({path to dein.vim directory})
    call dein#add('Shougo/neocomplete.vim')
    ...
    
    call dein#end()
    
    filetype plugin indent on
    syntax enable
  3. Open vim and install dein

    :call dein#install()

Concept

  • Faster than NeoBundle

  • Simple

  • No commands, Functions only

  • Easy to test and maintain

  • No Vundle/NeoBundle compatibility

  • neovim/Vim8 asynchronous API installation support

Future works (not implemented yet)

  • Other types support (zip, svn, hg, ...)

  • Metadata repository support

Options

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

About

⚡ Dark powered Vim/Neovim plugin manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 98.1%
  • Shell 1.5%
  • Python 0.4%