LoginSignup
1
2

More than 3 years have passed since last update.

dein.vimを入れてみる

Posted at

はじめに

NeoBundleよりdein.vimにした方がいいんじゃないかという噂を耳にしたので入れてみる
(作者が言ってるみたい)

早速入れる

dein.vimをcloneしてくる


$ 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

.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#add('Shougo/unite.vim')

call dein#end()

if dein#check_install()
    call dein#install()
endif

check_installって部分で、
pluginを追加したら自動でインストールしてくれるようにしてます。

参考

dein.vimを使ってみる

1
2
0

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
1
2