Skip to content

Instantly share code, notes, and snippets.

@mongrelP
Created November 21, 2011 03:06
Show Gist options
  • Save mongrelP/1381500 to your computer and use it in GitHub Desktop.
Save mongrelP/1381500 to your computer and use it in GitHub Desktop.
VundleとNeoBundle.vimの併用

About

Vundle と NeoBundle.vim の併用

Quick start

Vundleが~/.vim/bundle/vundleに導入してあるとする。
導入していない場合はVundleのインストール方法に従うこと。
別の場所にある場合は適宜読み替える。

  1. NeoBundleの導入:

    $ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim

   もしくはvimを起動してから

   :BundleInstall Shougo/neobundle.vim

  1. .vimrcの編集:

vimで開いたあと以下のようにして置換する
:s /Bundle/NeoBundle/g
その後.vimrcのcall vundle#rc()のすぐ次の行に以下を追加

     if has('vim_starting')
          set runtimepath+=~/.vim/bundle/neobundle.vim/
          call neobundle#rc(expand('~/.vim/bundle/'))
     endif
     NeoBundle 'Shougo/neobundle.vim'

何故両方導入するのか

基本的にはUniteやvimshellなどとの連携のためにNeoBundle.vimを使いたい
だがBundleSearchは便利(NeoBundle.vimは実装しないという)なので両方使えるようにするだけ。

@Shougo
Copy link

Shougo commented Apr 4, 2012

こんにちは。neobundleの作者です。残念ながら、BundleSearchの実装予定はありません。
あれはvim.orgのプラグインにしか効かないため、効果が限定的だと考えている為です。
最近ではgithubに最新版があるプラグインも多いです。githubでしか配布していないプラグインもあります。

@mongrelP
Copy link
Author

なるほど。
個人的に使いたいだけなのでまぁ勝手なメモです。
vim上で探せるのは大きいですし。
ここらへん検索できるようになるPluginを別途作ったほうがいいんですかね…

@Shougo
Copy link

Shougo commented Apr 10, 2012

私が実装する予定がないというだけで、その機能を自作するのは自由です。
Vim scriptの勉強がてらやってみると良いかもしれません。

@Shougo
Copy link

Shougo commented Apr 17, 2012

長らく実装する気がありませんでしたが、neobundle ver.2.0でプラグイン検索機能を実装します。
Vundleとの併用はしなくて良くなるはずです。

@mongrelP
Copy link
Author

なんですと!?いやありがとうございます!

@Shougo
Copy link

Shougo commented May 3, 2012

本日実装しました。neobundle/search sourceを使用してください。説明文も表示されるので、vundleのものよりも高機能です。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment