LoginSignup
82
80

More than 5 years have passed since last update.

VimへのNeoBundleのインストール(2015/09/21版)

Last updated at Posted at 2015-09-20

NeoBundleは非推奨となったようです。

@yoza さんのdein.vimを使ってみるや、@delphinus35 さんのNeoBundle から dein.vim に乗り換えたら爆速だった話で紹介されているdeinというのがいいそうです。

Vim 8.0からは、標準のパッケージマネージャーも搭載されているようなので、そちらを使用するのが良さそうです。
Qiita上では記事が見当たりませんが、http://kata0hka.hatenablog.com/entry/2016/09/26/055756 あたりが参考になりそうです。

以下、NeoBundleのインストール記事なので、今となっては非推奨となりますのでご注意ください。

VimへのNeoBundleのインストール の最新版です。

pluginのダウンロード

Linux/Mac OS XなどのUNIX系の場合

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

Windowsの場合

mkdir -p ~/.vim/bundle
git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim

_vimrcの作成

call neobundle#rc() とかが動かなくなっていたので、NeoBundle公式のREADMEを参考にしながら修正しました。

以下、_vimrcの最新版となります。

vimrc
" Note: Skip initialization for vim-tiny or vim-small.
if 0 | endif

filetype off

if has('vim_starting')
  if &compatible
    set nocompatible               " Be iMproved
  endif

  set runtimepath+=~/.vim/bundle/neobundle.vim
endif

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

" originalrepos on github
NeoBundle 'Shougo/neobundle.vim'
NeoBundle 'Shougo/vimproc', {
  \ 'build' : {
    \ 'windows' : 'make -f make_mingw32.mak',
    \ 'cygwin' : 'make -f make_cygwin.mak',
    \ 'mac' : 'make -f make_mac.mak',
    \ 'unix' : 'make -f make_unix.mak',
  \ },
  \ }
NeoBundle 'VimClojure'
NeoBundle 'Shougo/vimshell'
NeoBundle 'Shougo/unite.vim'
NeoBundle 'Shougo/neocomplcache'
NeoBundle 'Shougo/neosnippet'
NeoBundle 'jpalardy/vim-slime'
NeoBundle 'scrooloose/syntastic'
NeoBundle 'Shougo/vimfiler.vim'
NeoBundle 'itchyny/lightline.vim'
NeoBundle 't9md/vim-textmanip'

NeoBundle 'Shougo/unite.vim'
NeoBundle 'ujihisa/unite-colorscheme'
NeoBundle 'tomasr/molokai'
""NeoBundle 'https://bitbucket.org/kovisoft/slimv'

call neobundle#end()

filetype plugin indent on     " required!
filetype indent on
syntax on

NeoBundleCheck

おまけ

Ubuntuでプリインストールされているvim-tinyでは動きません。

shell
sudo apt-get remove vim-tiny
sudo apt-get install vim

とすれば、動作します。

82
80
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
82
80