Edited at

【mac】NeoBundleの導入手順

More than 1 year has passed since last update.


環境

macOS Sieera 10.12.5


手順

 $ curl https://raw.githubusercontent.com/Shougo/neobundle.vim/master/bin/install.sh > install.sh

$ sh ./install.sh

上記二行目のスクリプトを実行すると、以下のようにvimrc(init.vim)に記述する内容を教えてくれる。

"NeoBundle Scripts-----------------------------

if &compatible
set nocompatible " Be iMproved
endif

" Required:
set runtimepath+=/Users/hogehoge/.vim/bundle/neobundle.vim/

" Required:
call neobundle#begin(expand('/Users/hogehoge/.vim/bundle'))

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

" Add or remove your Bundles here:
NeoBundle 'Shougo/neosnippet.vim'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'tpope/vim-fugitive'
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'flazz/vim-colorschemes'

" You can specify revision/branch/tag.
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }

" Required:
call neobundle#end()

" Required:
filetype plugin indent on

" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"End NeoBundle Scripts-------------------------

vimrc(init.vim)を開き、ファイル上部にペーストすれば設定完了。

$ vim ~/.vimrc