ablog

不器用で落着きのない技術者のメモ

NeoBundle をインストールしてみた

Oracle Linux 6.4 に NeoBundle をインストールしてみた。

  • neobundle.vim をインストールする
$ curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh | sh
  • ~/.vimrc に以下を追記する
set laststatus=2
set t_Co=256
let g:Powerline_symbols = 'fancy'

let g:lightline = {
      \ 'colorscheme': 'wombat',
      \ 'component': {
      \   'readonly': '%{&readonly?"⭤":""}',
      \ },
      \ 'separator': { 'left': '⮀', 'right': '⮂' },
      \ 'subseparator': { 'left': '⮁', 'right': '⮃' }
      \ }

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

call neobundle#rc(expand('~/.vim/bundle/'))

" Let NeoBundle manage NeoBundle
NeoBundleFetch 'Shougo/neobundle.vim'

" add plugins
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/neomru.vim'
NeoBundle 'alpaca-tc/alpaca_powertabline'
NeoBundle 'Lokaltog/powerline', { 'rtp' : 'powerline/bindings/vim'}
NeoBundle 'Lokaltog/powerline-fontpatcher'
NeoBundle 'itchyny/lightline.vim'

filetype plugin on

vim を起動すると bundle をインストールするか聞かれるので、y と入力する。

$ vim   
Not installed bundles: ...
Install bundles now?
(y)es, [N]o: y