vim の初期設定
毎回調べるので、vim の初期設定についてのメモを残しておく。
NeoBundle のダウンロード
mkdir -p ~/.vim/bundle git clone git://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
NeoBundle のインストール
vim ~/.vimrc
set nocompatible
filetype plugin indent off
if has('vim_starting')
set rtp+=$HOME/.vim/bundle/neobundle.vim/
endif
call neobundle#begin(expand('~/.vim/bundle'))
NeoBundleFetch 'Shougo/neobundle.vim'
call neobundle#end()
" NeoBundle のプラグインを記述していく
NeoBundle 'Shougo/neocomplcache.git'
NeoBundle 'Shougo/unite.vim.git'
filetype plugin indent on
あとは、 vim を起動して以下のコマンドを実行すればインストール・アップデートが出来る。
:NeoBundleInstall
:NeoBundleUpdate
インストールするプラグイン
とりあえず、以下のプラグインを導入しておく。
molokai カラースキーム
NeoBundle 'tomasr/molokai'