LoginSignup
344
325

More than 5 years have passed since last update.

dein.vimを使ってみる

Last updated at Posted at 2016-02-22

普段NeoBundleを使っていて特に今のところ問題ないのだが、なんとなく気分で乗り換えてみる。

dein.vimとは?

みなさんご存知Shougoさんが作成したvimプラグインマネージャ

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

中二病心がくすぐられる説明文

早速使ってみる

好きなディレクトリにdeinを持ってくる

$ mkdir -p ~/.vim/dein/repos/github.com/Shougo/dein.vim
$ git clone https://github.com/Shougo/dein.vim.git \
    ~/.vim/dein/repos/github.com/Shougo/dein.vim

deinで管理したいプラグインをvimrcに記述

if &compatible
  set nocompatible
endif
set runtimepath+=~/.vim/dein/repos/github.com/Shougo/dein.vim

call dein#begin(expand('~/.vim/dein'))

call dein#add('Shougo/dein.vim')
call dein#add('Shougo/vimproc.vim', {'build': 'make'})

call dein#add('Shougo/neocomplete.vim')
call dein#add('Shougo/neomru.vim')
call dein#add('Shougo/neosnippet')

" (中略)

call dein#end()

インストールする

:call dein#install()

入れたプラグインは:Unite deinで確認できる

備考

Shougoさんのvimrcを見るとtomlにプラグインを記述してるので、そういう書き方もできるみたい。

追記

ということらしいので、今後はdein.vimを使う流れになりそう(たぶん)

URL

dein.vim

344
325
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
344
325