vundleからneobundleに乗り換える

超絶、楽である。


vundle.vimを使っていたので削除してしまう。

$ cd .vim
$ rm -rf bundle
$ rm -rf vundle



改めてディレクトリを作成&neobundle.vimをgitでクローンしてくる。

$ mkdir bundle
$ cd bundle
$ git clone https://github.com/Shougo/neobundle.vim.git


$ vi .vimrc
"----------------------------------------------------
" neobundle.vim
"----------------------------------------------------
set nocompatible
filetype plugin indent off

if has('vim_starting')
  set runtimepath+=~/.vim/bundle/neobundle.vim/
  call neobundle#rc(expand('~/.vim/bundle/'))
endif

NeoBundle 'Shougo/neobundle.vim'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/vimproc'
NeoBundle 'ujihisa/unite-locate'
NeoBundle 'violetyk/cake.vim'
NeoBundle 'tpope/vim-surround'
NeoBundle 'taglist.vim'
NeoBundle 'ZenCoding.vim'
NeoBundle 'ref.vim'
NeoBundle 'The-NERD-tree'
NeoBundle 'The-NERD-Commenter'
NeoBundle 'fugitive.vim'
NeoBundle 'TwitVim'
NeoBundle 'thinca/vim-quickrun'
NeoBundle 'thinca/vim-localrc'
NeoBundle 'dbext.vim'
NeoBundle 'rails.vim'
NeoBundle 'Gist.vim'
NeoBundle 'motemen/hatena-vim'
NeoBundle 'mattn/webapi-vim'
NeoBundle 'mattn/unite-advent_calendar'
NeoBundle 'open-browser.vim'
NeoBundle 'ctrlp.vim'
NeoBundle 'jelera/vim-javascript-syntax'

" Color Scheme
NeoBundle 'altercation/vim-colors-solarized'

filetype plugin indent on



.vimrcに設定書いたらvimを再起動してNeoBundleコマンドでインストールしてみる。

:NeoBundleInstall



バッチリ入った。
ついでにUniteからneobundle使いたいので、こちらを参考に
https://github.com/Shougo/vimproc/blob/master/doc/vimproc.jax
vimprocを入れたら以下のようにmakeする。

$ make -f make_gcc.mak



vimporcも入れたのでこれで次から

:Unite neobundle/install:! 

とかできちゃう!
やったね。