LoginSignup
6
8

More than 5 years have passed since last update.

【mac】NeoBundleの導入手順

Last updated at Posted at 2017-07-07

環境

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
6
8
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
6
8