Giter Club home page Giter Club logo

neobundle.vim's Introduction

Stories in Ready

Note: Active developement on NeoBundle has stopped. The only future changes will be bug fixes.

Please see Dein.vim -- A faster, well-tested plugin manager for Vim and Neovim. It can do everything NeoBundle does, including asynchronous installs.

About

NeoBundle is a next generation Vim plugin manager. This plugin is based on Vundle, but I renamed and added tons of features, while Vundle tends to stay simple.

Requirements:

  • Vim 7.2.051 or above.
  • "git" command in $PATH (if you want to install github or vim.org plugins)

Recommends:

  • vimproc if you want to install/update asynchronously in Unite interface.

Note: In :NeoBundleUpdate/:NeoBundleInstall commands, you can parallel update by vimproc, but you cannot do other work unlike Unite interface.

Note: Neobundle is not a stable plugin manager. If you want a stable plugin manager, you should use Vundle plugin. It well works widely and it is more tested. If you want to use extended features, you can use neobundle.

Vundle features: Stable, simple, good for beginners

Neobundle features: Early development (may break compatibility), very complex, good for plugin power users (for example, 50+ plugins and over 1000 lines .vimrc, ...)

Note: Neobundle only accepts "https" or "ssh". https://glyph.twistedmatrix.com/2015/11/editor-malware.html

How it works

Plugins are defined in NeoBundle by calling NeoBundle '<plugin repository location>'. NeoBundle assumes Github as the default location for plugins, so for most plugins you can simply use NeoBundle 'username/plugin' rather than using the absolute URL of the plugin. These calls should be made in your .vimrc file. Once you have defined these, you must call NeoBundleInstall, and NeoBundle will clone all of the repos into the desired folder (generally ~/.vim/bundle) and load them into Vim. If you want to update these repositories, simply call NeoBundleUpdate.

A few other useful commands:

  • :NeoBundleList - list configured bundles
  • :NeoBundleInstall(!) - install (update) bundles

Refer to :help neobundle for more examples and for a full list of commands.

Quick start

1. Install NeoBundle

If you are using Unix/Linux or Mac OS X.

  1. Run below script.

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

Complete.

If you want to install manually or you are using Windows.

  1. Setup NeoBundle:

    $ mkdir ~/.vim/bundle
    $ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim
    
  2. Configure bundles:

    Sample .vimrc:

    " Note: Skip initialization for vim-tiny or vim-small.
    if 0 | endif
    
    if &compatible
      set nocompatible               " Be iMproved
    endif
    
    " Required:
    set runtimepath+=~/.vim/bundle/neobundle.vim/
    
    " Required:
    call neobundle#begin(expand('~/.vim/bundle/'))
    
    " Let NeoBundle manage NeoBundle
    " Required:
    NeoBundleFetch 'Shougo/neobundle.vim'
    
    " My Bundles here:
    " Refer to |:NeoBundle-examples|.
    " Note: You don't set neobundle setting in .gvimrc!
    
    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

2. Install configured bundles

Launch vim, run :NeoBundleInstall or :Unite neobundle/install (required unite.vim) Or Command run bin/neoinstall or vim +NeoBundleInstall +qall

How to test

Run make test command in command line(required vim-themis).

https://github.com/thinca/vim-themis

Advantages over Vundle

  1. Plugin prefixed command name (:Bundle vs :NeoBundle).
  2. Support for vimproc (asynchronous update/install).
  3. Support for unite.vim interface (update/install/search).
  4. Support for revision locking.
  5. Support for multiple version control systems (Subversion/Git).
  6. Support for lazy initialization for optimizing startup time.
  7. and so on...

Tips

If you use a single .vimrc across systems where build programs are named differently (e.g. GNU Make is often gmake on non-GNU systems), the following pattern is useful:

let g:make = 'gmake'
if system('uname -o') =~ '^GNU/'
        let g:make = 'make'
endif
NeoBundle 'Shougo/vimproc.vim', {'build': {'unix': g:make}}

neobundle.vim's People

Contributors

aereal avatar andrezsanchez avatar blueyed avatar choplin avatar crazymaster avatar cynix avatar dear avatar dog-peer avatar euclio avatar frasertweedale avatar glts avatar gmarik avatar hamaco avatar irightcode avatar itakeshi avatar k-takata avatar kyuki avatar liangfeng avatar lilyball avatar osyo-manga avatar paulhybryant avatar shiena avatar shoma2da avatar shougo avatar soramugi avatar takegue avatar tbastos avatar ujihisa avatar zhaocai avatar zhuochun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

neobundle.vim's Issues

NeoBundleLocal is broken in mswin

When I work mswin(xp), a lot of error messages shows on startup.
And none of local bundle is loaded after startup.
When I remove the NeoBundleLocal, error messages disapper.
So something wrong with the function ?

By the way, NeoBundleLazy seems no effect to the local bundle.

Error: undefined variable `rev`.

Here is the error output, I try to find the error, but I failed. can not help this little problem .... :(

Error detected while processing function neobundle#installer#install..<SNR>251_install..neobundle#installer#check_output..neobundle#installer#lock_revision..neobundle#installer#get_revision_lock_command..6:
line 5:
E121: Undefined variable: rev
E15: Invalid expression: 'git checkout ' . rev

NeoBundle attribute 'rev' update log problem ?

I add neosnippet plugin like this:

NeoBundle 'Shougo/neocomplcache-snippets-complete', {
    \ 'depends': 'Shougo/neocomplcache',
    \ 'rev': 'neosnippet',
    \ }

Then I update :NeoBundleUpdate neocomplcache-snippets-complete.
The output of :neobundleupdatelog always like this, not changed.

NeoBundleUpdate      NeoBundleUpdatesLog                                                                                                                                                                            
(1/2): |neocomplcache-snippets-complete| Updated                                                                                                                                                                    
* 2e6791e [10 minutes ago] - Fixed typo.                                                                                                                                                                            
* ce8e095 [78 minutes ago] - Fixed s:get_cursor_snippet().                                                                                                                                                          
*   306ef02 [86 minutes ago] Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet                                                                                         
|\                                                                                                                                                                                                                  
| * e7ac14b [2 hours ago] scala snip tweaks                                                                                                                                                                         
| * ab9dc68 [2 hours ago] Adding new snip: scala                                                                                                                                                                    
* | 4d20ebd [86 minutes ago] - Fixed documentation.                                                                                                                                                                 
|/                                                                                                                                                                                                                  
* 6eef3d5 [3 hours ago] - Changed :NeoSnippetEdit behavior.                                                                                                                                                         
*   82dce7f [5 hours ago] Merge branch 'neosnippet' of github.com:Shougo/neocomplcache-snippets-complete into neosnippet                                                                                            
|\                                                                                                                                                                                                                  
| * eb19289 [33 hours ago] bugfix: :leftbelow command doesn't exit. now -split option will work.                                                                                                                    
| * f23db01 [33 hours ago] docfix: :NeoSnippetEdit's option descriptions were in :NeoSnippetMakeCache                                                                                                               
* | 6e733a5 [5 hours ago] - Refactored snippets filter.                                                                                                                                                             
|/                                                                                                                                                                                                                  
* 6780dd6 [3 days ago] - Improved python snippets.                                                                                                                                                                  
* 66ebdee [3 days ago] - Fixed tags.                                                                                                                                                                                
* f64bb1d [3 days ago] - Deleted neosnippet#force_expandable().                                                                                                                                                     
* 3378bf8 [3 days ago] bugfix: neosnippet#caching_snippets doesn't exist.                                                                                                                                           
* 5cd0e35 [3 days ago] bugfix: it was infinite loop!                                                                                                                                                                
* e31b261 [4 days ago] - Fixed snippet source errors.                                                                                                                                                               
* e3fa0bb [4 days ago] - Renamed commands.                                                                                                                                                                          
* f065035 [4 days ago] - Changed neocomplcache source behavior.                                                                                                                                                     
* 83e20ff [4 days ago] - Improved documentation.                                                                                                                                                                    
* ba03d23 [4 days ago] - Fixed error.                                                                                                                                                                               
* 0739b9b [4 days ago] - Improved filetype complete.                                                                                                                                                                
* d5e1a67 [4 days ago] - Fixed errors.                                                                                                                                                                              
* 9b4b9e6 [4 days ago] - Improved for filetype.                                                                                                                                                                     
* 67b59e9 [4 days ago] - Deleted s:get_cursor_keyword_snippet().                                                                                                                                                    
* 1747ce4 [4 days ago] - Improved documentation.                                                                                                                                                                    
* 50cabbd [4 days ago] - Deleted neocomplcache depends.                                                                                                                                                             
* 2a0d6f1 [4 days ago] - Renamed vital.                                                                                                                                                                             
* 6cebc08 [4 days ago] - Refactored variables.                                                                                                                                                                      
* 4fe36ca [4 days ago] - Deleted neocomplcache#util functions.                                                                                                                                                      
* c07fdec [4 days ago] - Vitalized.                                                                                                                                                                                 
* cb51dd6 [4 days ago] - Changed runtime directory.                                                                                                                                                                 
* 2359481 [7 days ago] - Fixed initialization.                                                                                                                                                                      
* a21c9ef [7 days ago] - Renamed keymappings.                                                                                                                                                                       
* 60eb5de [7 days ago] - Renamed documentation.                                                                                                                                                                     
(1/2): |neocomplcache-snippets-complete| Updated                                                                                                                                                                    
* 04dd784 [22 hours ago] - Added <Plug>(neocomplcache_start_unite_snippet).                                                                                                                                         
Press ENTER or type command to continue                                     


After next update, it still has a lot of log output like upper. (the new commit message are truly in log), but many commit message seems still shows, I guess neobundle do diff between neosnippet branch and master. and also do diff on master HEAD. that's why there are two updates.

Error building help tags

He

I got the following error on the last two updates with neobundle:

Error generating helptags:
Vim(helptags):E154: Doppelter Tag "unite-changelog" in der Datei /home/sabsirro/.vim/bundle//.neobundle/do>
<c/unite.txt function <SNR>101_on_cursor_moved_i..<SNR>101_check_redraw..unite#redraw..<SNR>101_redraw..<S>
<NR>101_recache_candidates..<SNR>101_recache_candidates_loop..<SNR>101_get_source_candidates..170..neobund>
<le#installer#update..neobundle#installer#helptags..<SNR>192_update_tags, Zeile 6

Q) Is there a shorcut to install plugin directly from "Unite neobundle/search list"

Hello. guys.
I knew that neobundle plugin has a lot of functionalities. as I questioned as title, I'd like to know if there a shorcut keymapping to install plugin directly from "Unite neobundle/search list"

  1. Please input search word: Unite
  2. some list is popup lik this
  3. unite-colorscheme vim.org plugin -- 1.0 A Unite.vim plugin colorscheme.
  4. unite-font vim.org plugin -- 1.0 A Unite.vim plugin for changing your font.
  5. + unite-gem vim.org plugin -- 1.0 A Unite.vim plugin to search/install
    ~~
  6. from here I want to install "unite-colorscheme" directly from here, for example in original bundle, the shortcut is "I" (install).

so is there equivalent key or any command?
I tried :NeoBundleInstall unite-colorscheme, but not works.

hg-gitを利用したhgコマンドでのgitリポジトリ操作が出来なくなった

Improved types. (999ae49) のコミット以降、gitが見つからない、とのことでパース失敗が表示されるようになりました。

" vimrc
NeoBundle 'Shougo/neobundle.vim', {'type': 'hg'}
:NeoBundleInstall
[neobundle] git is not installed. You cannot install plugins from github.
Failed parse name "Shougo/neobundle.vim" and args [{'type': 'hg'}]

hg-git というものを使って、hgのコマンドで、gitリポジトリを操作しています。
実施したいコマンドは次のような形になります。

hg clone git://github.com/Shougo/neobundle.vim.git

この変更以前は上記のコマンドが実行され、NeoBundleInstallなどが使用できていました。

次のような指定も1つ試してみたのですが、こちらもダメでした。

NeoBundle 'git://github.com/Shougo/neobundle.vim.git', {'type': 'hg'} 

hgでgit操作のような特殊な形の指定は難しいでしょうか?


WinXp 32bit
gVim 7.3.618 32bit kaoriya
TortoiseHg バージョン 2.3.1
hg-git リポジトリ03d8e33bf7761526048576c5374cb89735268d49)

README.mdにリネームして欲しい

READMEの中身がMarkdownで書かれているのにファイル名が拡張子なしのREADMEなのでgithub上で読みづらいので、README.mdにリネームしてもらえると嬉しいです(^^;

How to set 'rtp: 'directory' key-value for NeoBundle ?

I have one bundle like this:

NeoBundle 'https://code.google.com/p/vimwiki/', {
    \ 'rtp': "~/.vim/bundle/vimwiki/src",
    \ }

But this seems can not load vimwiki source, I think here 'rtp' is wrong.
Can you tell me how to set runtimepath here ?
I think neobundle's bundle doc should be improved for bundle's attributes like upper.
There are other attributes like 'type', 'base', 'dir', etc

Vim get freeze when a NeoBundle command get a repository name has a typo.

Vim get freeze when a NeoBundle command get a repository name has a typo.

Example code has a repository name typo on my vimrc line 14.

Correct command: NeoBundle "https://github.com/OrgaChem/JavaScript-syntax.git"
Wrong command: NeoBundle "https://github.com/OrgaChem/JavaScript-syntax.git.git"

My environment is:
Windows7 SP1 64bit,
Git Git 1.7.10.msysgit.1,
Vim 7.3.672

Regards.

cool idea about neobundle unite interface !

Let unite interface supports fold for candidates. so that neobundle/search can use this fold feature to show more details.
For example, when the Vim window width is not long, then the opened :Unite neobundle/search will looks like this:

- cscope_win            vim.org   plugin   -- utility    2.0   -- Di.. separate window similar to emacs

You can not see the complete plugin describe.
And have this fold feature will let candidate show more information.
Like, for neobundle, can show the git repository source address. and a part of README ?? and anything the unite source provider want to show in this show space (unfold).

And about the fold feature detail:
You can take my consider as reference,
Use a map like <C-o> or <C-u> to unfold the selected candidate.
after unfold will expand a specified height space to show info.
here is a example layout:

- cscope_win            vim.org   plugin   -- utility    2.0   -- Di.. separate window similar to emacs
  \ here is the content after unfold.
  | and this line.
  | and this line....
- cscope_plus.vim       vim.org   ftplugin -- ftplugin   1.0.0 -- Advanced cscope settings

I like this idea. :)

error in `:Unite neobundle/search` source.

function <SNR>90_call_unite_empty..unite#start..<SNR>70_recache_candidates..<SNR>70_recache_candidates_loop..<SNR>70_get_source_candidates..300, line 14                                                            
Vim(return):E716: Key not present in Dictionary: name . ' ' . v:val.description, 'source__name' : v:val.name, 'source__description' : v:val.description, 'action__uri' : 'https://github.com/vim-scripts/'>         
< . v:val.uri, }                                                                                                                                                                                                    
[unite.vim] Error occured in gather_candidates!                                                                                                                                                                     
[unite.vim] Source name is neobundle/search      

i can not use MacVim after installed neobundle.vim

I DO know that i should launch the vim command in a terminal, and there is some hint for me to complete the process.

but i think it's pretty confusing if there is totally nothing when i firstly launch MacVim, huh?

function arguments parsing error:

here is my NeoBundle settings.

NeoBundle 'Shougo/neobundle.vim' {
  \ 'depends': ['Shougo/unite.vim'],
 \ }  

ERROR:

Error detected while processing function neobundle#config#bundle..<SNR>18_parse_arg:
line    3:
E696: Missing comma in List: { 'depends': ['Shougo/unite.vim'], }]

load bundles on demand?

is it possible to make a command to load bundles on demand? I installed too many bundle ( 50+). Now the vim starting time becomes annoying long ...

vim起動後に:sourceコマンドでOverwrite previous neobundle configurationが発生する

特定のリポジトリへのNeoBundleが記述された.vimrcを持つvimを起動した後

:source $MYVIMRC

すると
Overwrite previous neobundle configuration in XXX
がメッセージに表示されます。

NeoBundle 'git://github.com/Shougo/unite.vim.git'

NeoBundle 'git://github.com/Shougo/vimfiler.git'

を同時に書くとunite.vimに対してメッセージが発生します。

また

NeoBundle 'git://github.com/Shougo/vimproc.git'

NeoBundle 'git://github.com/Shougo/vimshell.git'

を同時に書くとvimprocに対してメッセージが発生します。

この現象が発生する最小の.vimrcは以下です。

https://gist.github.com/saihoooooooo/5275329

宜しくお願い致します。

Do I need to set "nested" attribute 'type': 'hg' for 'depends' ?

I found one interesting thing.
If one bunle's depends need attribute like 'type': 'hg', then how to set them?
Like this:

NeoBundle 'https://bitbucket.org/ZyX_I/aurum', {
    \ 'type': 'hg',
    \ 'depends': [ 'https://bitbucket.org/ZyX_I/frawor', ], " set attribute 'type': 'hg' for this fawor at here ???
    \ }

A weird problem on neobundle.

The neobundle does not quit ... after I execute command :NeoBundleUpdate....
This is really ....
Even I try to press Ctrl-C, not work.
You can have a look at this screenshot. http://ompldr.org/vZzBxdw
You will find the cursor is not show up again ....

NeoBundleUpdate style when has attribute `'rev'` ??

I found neobundle command :NeoBundleUpdate will switch back to branch master, then git pull. I see the output like this:

/home/chris/.vim/bundle/cscope.vim
Switched to branch 'master'
M       doc/tags
Cannot pull with rebase: You have unstaged changes.
Please commit or stash them.

I ad plugin cscope.vim like this:
NeoBundle 'NagatoPain/cscope.vim', {'rev': 'patch-1'}
I do not know Git much. But I think If user specific branch name in rev attribute. Then the update should pull from this branch instead of master.
This should be used in most cases.
But sometimes, the user maybe just want to use a topic branch, like upper case patch-1. In this case, should not update from this branch.

So I think should has a (nested) attribute for 'rev'.
For example:

NeoBundle 'NagatoPain/cscope.vim', {'rev': [ ['patch-1', {'update_style': '???'}] ]}

Upper just like nested 'depends' syntax sugar.
About the value of key 'update_style' can be:

  • 'master'
  • 'rev' -- pull from attribute 'rev' specified branch.
  • maybe has other situations ??

neobundle でインストールしたプラグインがVimを再起動すると読み込まれなくなる

@usaturnさんから報告を受けた問題です。

https://twitter.com/#!/usaturn/status/176158389112553472

NeoBundleの件でもう少し調べていたのですが、プラグインが認識しなくなるタイミングはエラーと関係ありませんでした。単純にGvimをリスタートかけるだけでプラグインは認識しなくなります。

https://twitter.com/#!/usaturn/status/176158848028127232

NeoBundleでプラグインを入れた直後はプラグインを認識しているのですが、Gvimのリスタートをかけてしまうとプラグインが認識しなくなるというところで、それ以上は追えませんでした。力不足で申し訳ないです・・・

https://twitter.com/#!/usaturn/status/176159411121823745

環境は、Win7x64、Vim 7.3.462 (2012/03/01版) 配信 vim73-kaoriya-win32-20120301.zip ×3台 で試して全て同じ挙動でした。

.vimrc再読み込みでエラー

おつかれさまです。

症状

  • :source $MYVIMRC の実行時、エラーとなる
  • エラー後、一部のキーマップが利用不可になる(Uniteの「q」など)
  • エラー後、シンタックスカラーが消える
  • エラー後、:Unite output:message しても候補なしとなる。:message ではerror文が表示されている。
  • :source $MYVIMRCとかしなければ、通常の:NeoBundleInstallなどは問題なく使える。

再現

  • call neobundle#rc(expand('~/.vim/bundle')) が if has('vim_starting') {} の外にあると起こる
  • Mac OSX Lion で確認
  • /usr/bin/vim, MacVim Kaori-Ya 双方で確認
  • プラグインがneobundle.vimだけでも起こる。

週末にSnow LeopardからLionにアップデートし、気付いたのが月曜となります。
それまでは特に問題は生じていなかった... 今はneobundleを3ヶ月前のVer.まで戻しても再現する。
vimprocは昨日8/6時点で最新のものでビルド済み。

error文 (最小構成のとき)

function neobundle#config#bundle..neobundle#config#init_bundle の処理中にエラーが検出されました:
行    6:
E117: 未知の関数です: neobundle#installer#error

上記は、.vimrcが下記のみのときのerror文
プラグインそのものは、/bundle/下に存在する。

set nocompatible
filetype off
filetype plugin indent off

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

NeoBundle 'git://github.com/Shougo/neobundle.vim.git'

filetype plugin indent on

error文 (通常時)

function neobundle#config#bundle..neobundle#config#init_bundle の処理中にエラーが検出されました:
行    6:
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
E117: 未知の関数です: neobundle#installer#error
/Applications/local/MacVim-kaoriya.app/Contents/Resources/vim/runtime/syntax/synload.vim の処理中にエラーが検出されました:
行   19:
E185: カラースキーム jellybeans がみつかりません
割込まれました
/Applications/local/MacVim-kaoriya.app/Contents/Resources/vim/runtime/syntax/syntax.vim の処理中にエラーが検出されました:
行   19:
割込まれました
/Users/sigwyg/.vimrc の処理中にエラーが検出されました:
行  121:
割込まれました
  • 「E117: 未知の関数です: neobundle#installer#error」の数はプラグインの数?
  • 「jellybeans がみつかりません」とあるが、別のカラースキームでも同様

よろしくお願いします m(__)m

rtp option not working for non github repos

I would like to install the Automatic LaTeX Plugin using NeoBundle. The git repo's address is

git://git.code.sf.net/p/atp-vim/code

I would like to have it installed as "atp-vim" not as "code", but using

NeoBundle 'git://git.code.sf.net/p/atp-vim/', {'rtp': 'code/'}

doesn't seem to work... Am I missing something?!

feature request: show plugin git changelog after update.

I hope neobundle can show changelog (commit messages between two updates) after execute command :NeoBundleUpdate or :NeoBundleInstall.

It is useful to tell user a plugin what changed and what new added etc.

for example:
$ git fetch -> git log --pretty=format:%s HEAD..FETCH_HEAD -> merge

NeoBundleLazy 'vimfiler' にて E127: Cannot redefine function neobundle#autoload#command: It is in use が発生

環境:

  • OS
    • Mac OS X 10.8.2
  • Vim
    • Macシステムデフォルトのvim 7.3
    • macvim-kaoriya 7.3 (KaoriYa 20121213)
$ /usr/bin/vim --version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 16 2012 15:12:57)
Compiled by [email protected]
Normal version without GUI.  Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape
-mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm -mouse_sysmouse
+mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype
+path_extra -perl +persistent_undo +postscript +printer -profile +python/dyn
-python3 +quickfix +reltime -rightleft +ruby/dyn +scrollbind +signs
+smartindent -sniff +startuptime +statusline -sun_workshop +syntax +tag_binary
+tag_old_static -tag_any_white -tcl +terminfo +termresponse +textobjects +title
 -toolbar +user_commands +vertsplit +virtualedit +visual +visualextra +viminfo
+vreplace +wildignore +wildmenu +windows +writebackup -X11 -xfontset -xim -xsmp
 -xterm_clipboard -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -D_FORTIFY_SOURCE=0 -Iproto -DHAVE_CONFIG_H -arch i386 -arch x86_64 -g -Os -pipe
Linking: gcc -arch i386 -arch x86_64 -o vim -lncurses

vimrcの最小構成:

set nocompatible

filetype off

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

NeoBundle 'Shougo/unite.vim'

NeoBundleLazy 'Shougo/vimfiler', {
      \ 'autoload' : {
      \    'commands' : 'VimFiler ',
      \ }}

filetype plugin indent on

再現方法:
vim 起動後に:VimFilerコマンドを実行すると下記のエラーが発生します。

Error detected while processing /Users/takaishi/dotfiles/.vim/neobundle.vim/autoload/neobundle/autoload.vim:
line   80:
E127: Cannot redefine function neobundle#autoload#command: It is in use

上記設定のままNeoBundleLazyNeoBundleに変更した場合や、vim 起動後に :NeoBundleSource コマンドを実行してVimFilerを起動した場合には上記エラーは発生しませんでした。

install action: error message related to b:vimfiler

got this message every time I do install action in the neobunle/search unite window.

function unite#mappings#do_action..2764..unite#mappings#do_action..vimfiler#force_redraw_all_vimfiler..vimfiler#view#_force_redraw_all_vimfiler..vimfiler#view#_force_redraw_screen..vimfiler#get_directory_files..vimfiler#helper#_get_directory_files..unite#get_vimfiler_candi
dates..<SNR>111_get_candidates..<SNR>111_recache_candidates..<SNR>111_recache_candidates_loop..<SNR>111_get_source_candidates..2763, line 27
Vim(let):E716: Key not present in Dictionary: source__sources)
[unite.vim] Error occured in gather_candidates!
[unite.vim] Source name is action
function unite#mappings#do_action..2764..unite#mappings#do_action..vimfiler#force_redraw_all_vimfiler..vimfiler#view#_force_redraw_all_vimfiler..vimfiler#view#_force_redraw_screen..vimfiler#get_directory_files..vimfiler#helper#_get_directory_files, line 26
Vim(let):E121: Undefined variable: b:vimfiler
Error occured in executing action!
Action name is do   

rev for vim.org scripts

Hello Shougo,

I got a problem: when I add this line to my .vimrc

NeoBundle 'python.vim'

it installs this script: python.vim
How can I install this python.vim instead?

Maybe you can make rev matches the script id when NeoBundle fetches from vim.org?

TYA

neocomplcache-rsenseの遅延読み込みが出来ない

以下の設定です。

.vimrc.neobundle

" completion by using cache
NeoBundle 'Shougo/neocomplcache'

" snippet using neocomplcache
NeoBundle 'Shougo/neosnippet', {
            \ 'depends' : 'Shougo/neocomplcache'
          \ }

" rsense in neocomplcache
NeoBundleLazy 'Shougo/neocomplcache-rsense', {
                \ 'depends' : 'Shougo/neocomplcache',
                \ 'autoload' : { 'filetypes' : 'ruby' }
              \ }

NeoBundleLazy 'Takehiro-Adachi/rsense-0.3', {
                \ 'build' : {
                \    'mac' : 'ruby etc/config.rb > ~/.rsense',
                \    'unix' : 'ruby etc/config.rb > ~/.rsense',
                \ }
              \ }

プレグイン設定ファイル、.vimrc.plugin_setting

"-------------------------------------------------------------------------------
" neocomplcache
"-------------------------------------------------------------------------------
" default config"{{{
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_camel_case_completion = 1
let g:neocomplcache_enable_underbar_completion = 1

" default config snippet
let g:neocomplcache_snippets_dir=expand('~/.vim/snippet')
"}}}

let g:neocomplcache_skip_auto_completion_time = '0.3'

" ファイルタイプ毎の辞書ファイルの場所"{{{
let g:neocomplcache_dictionary_filetype_lists = {
      \ 'default'    : '',
      \ 'java'       : $HOME.'/.vim/dict/java.dict',
      \ 'ruby'       : $HOME.'/.vim/dict/ruby.dict',
      \ 'eruby'      : $HOME.'/.vim/dict/ruby.dict',
      \ 'javascript' : $HOME.'/.vim/dict/javascript.dict',
      \ 'lua'        : $HOME.'/.vim/dict/lua.dict',
      \ 'ocaml'      : $HOME.'/.vim/dict/ocaml.dict',
      \ 'perl'       : $HOME.'/.vim/dict/perl.dict',
      \ 'c'          : $HOME.'/.vim/dict/c.dict',
      \ 'php'        : $HOME.'/.vim/dict/php.dict',
      \ 'scheme'     : $HOME.'/.vim/dict/scheme.dict',
      \ 'vim'        : $HOME.'/.vim/dict/vim.dict',
      \ 'timobile'   : $HOME.'/.vim/dict/timobile.dict',
\ }
"}}}

" Plugin key-mappings.
imap <C-F>     <Plug>(neocomplcache_snippets_expand)
imap <expr><C-g>     neocomplcache#undo_completion()

" snippetの編集
nmap <Space>e <C-U>:NeoComplCacheEditSnippets<CR>
au BufRead,BufNewFile *.snip  set filetype=snippet


"----------------------------------------------------
" neocomplcache-rsense
"----------------------------------------------------
let g:rsenseUseOmniFunc = 1
let g:neocomplcache#sources#rsense#home_directory = neobundle#get_neobundle_dir() . 'rsense-0.3'

ちなみにNeoBundleにすると通常通り作動します.... :(

feature request: fuzzy complete for command `:NeoBundleUpdate`

I add plugin like this: NeoBundle 'someone/vim-fugitive.vim'
When I want to update fugitive plugin, I have to remember it is vim-fugitive instead of fugitive, It is not good for remember.
So I think let neobundle support fuzzy complete for command :NeoBundleUpdate.

Error generating helptags

After i use the install action:

Error generating helptags:
Vim(helptags):E154: Duplicate tag "neocomplcache-changelog" in file /Users/zhaocai/.vim/bundle/.neobundle/doc/neocomplcache.txt function unite#mappings#do_action..1130..unite#mappings#do_action..1098..neobundle#config#direct_bundle..neobundle#installer#install..neobundle#i
nstaller#update..neobundle#installer#helptags..<SNR>20_update_tags, line 6
function unite#mappings#do_action..1130..unite#force_redraw..<SNR>82_redraw..<SNR>82_recache_candidates..<SNR>82_recache_candidates_loop..<SNR>82_get_source_candidates..1129, line 27
Vim(let):E716: Key not present in Dictionary: source__sources)
[unite.vim] Error occured in gather_candidates!
[unite.vim] Source name is action   

Windows(gVim)でのNeoBundleInstallでエラー

windowsのgVimでの利用は可能でしょうか。
自分の環境でNeoBundleInstallコマンドを実行すると、プラグインをインストールしようとしてエラーになるのですが。
下記は-Vオプションで出力させたログの一部です。

(1/6): git clone git://github.com/nvie/vim-pep8.git "C:/Users/morinatsu/vimfiles/bundle/vim-pep8"
実行のためにシェルを呼出し中: "git clone git://github.com/nvie/vim-pep8.git "C:/Users/morinatsu/vimfiles/bundle/vim->pep8" >C:/Users/morinatsu/AppData/Local/Temp/VIo4885.tmp 2>&1"
function neobundle#installer#install..41_install..41_sync..41_system..20_system の処理中にエラーが検出されました:
行 9:
E484: ファイル "C:/Users/morinatsu/AppData/Local/Temp/VIo4885.tmp" を開けません

C:/Users/morinatsu/vimfiles/bundle/vim-pep8

A weird problem cause by writing unnessery bundle depend.

Here is a screenshot of the weird output:
screenshot

I have debugged my vimrc. and Found the wrong bundle plugin:

NeoBundle 'Shougo/neocomplcache-snippets-complete', {
    \ 'depends': 'Shougo/neocomplcache',
    \ 'type__update_style': 'default',
    \ }

After I removed the line \ 'depends': 'Shougo/neocomplcache',, then the weird problem is gone. I guess this unnessery depend caused the problem. (99% I'm sure). Why this can cause problem ?

If neobundle check some bundle setting is wrong. neobundle should report error. not quiet.

git can not rebase on multiple branches

I get this error:

/home/chris/.vim/bundle/neocomplcache
Cannot rebase onto multiple branches

I checked out $ man git-pull (I saw the neobundle source code before, find it use git pull --rebase command). seems neobundle need to improve the update command.
I'm not familiar with Git too much. But $ git pull --rebase will use git rebase instead of git pull. But I think in this multiple braches case, the rebase need to specify which branch to be rebased exactly.(I'm not very sure).

[Error] error occurs when :NeoBundleInstall with attribute 'rev'

I add a plugin (use its branch develop) with attribute like this:

NeoBundle 'NagatoPain/vimim', {'rev': 'develop'}

Then I run command :NeoBundleInstall.
get error:

(1/1): |vimim| Updated
fatal: bad revision 'fatal:'
(1/1): |vimim| Updated
 -> fatal: ambiguous argument 'develop': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
develop

But when I cd into that directory bundle/vimim, the zsh git prompt did show develop. means I'm in develop branch. neobundle switched branch successfully. But why that error ?

Newline characters are written as '^@' characters to logfile

After executing a :NeoBundleUpdate/:NeoBundleInstall some <NL> characters are written as <Nul> characters. It's only for for the final summary messages written from here and here.

Example:

[neobundle/install] Installed/Updated bundles:^@neobundle.vim^@NrrwRgn^@vim-endwise 
[neobundle/install] Errored bundles:^@ultisnips-snippets

enhance 'depends' attribute ??

I found some vim plugins require external program. for example: hexript. It require xxd program.
So I think neobundle can support check whether has a program. just like advanced attribute 'build':

'build': { 'unix': 'make -f make_unix.mak', }

:Unite neobundle/update で一部のプラグインがエラーになる

lngrより転載

@LeafCage

:Unite neobundle/updateで、いくつかのプラグインが

!!!/libexec/git-core/git-sh-setup: line 266: cd: .git: No such file or directory!!!

!!!Unable to determine absolute path of git directory!!!

と出るのは何が原因でしょうか?
.gitは間違いなくあるのですが。

エラーが出た後もう一度:Unite neobundle/updateを実行すると今度は何事もなくアップデートされるのだが、一体一回目と二回目で何が違うのか分からないから気持ち悪いです。

Several errors on update and install

He

I get several error messages. First on the call :Unite neobundle/install

Sources: neobundle/install
[neobundle/install] Bundles not found.
[neobundle/install] You may use wrong bundle name.

I do not understand the first one nor the second. All my bundles have the format:

NeoBundle 'Shougo/neobundle.vim'

On the call :Unite neobundle/update I get for each of the bundles a warning:

fatal: A branch named 'master' already exists.

And for one of the bundles (Powerline) I get an error:

There is no tracking information for the current branch.
Please specify which branch you want to rebase against.
See git-pull(1) for details

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream master origin/<branch>

Best Claas

some suggestions

I recently began using the plugin to manage other plugins.
I met some problem:

  1. if I just wanna get sub directory of some resp, e.g.
    src/etc/vim of https://github.com/mozilla/rust.git , neobundle will still download the whole project which is so large.
  2. is it possible make the url of vim official site possible the resource of bundle,
    e.g.
    url is http://www.vim.org/scripts/script.php?script_id=213. neobundle may get the plugin archive from the url. by the way, this plugin c.vim is out of date on vim-script.org.

NeoBundleLocal設定後にインストールエラー表示が出る。

本現象は Windowsでしか発生しないみたいです。
Linux, MacVimだと問題なかったです。

■環境

OS : Windows XP
Vim:7.3.712(Kaoriya版)
NeoBundle : acdc272

■現象

NeoBundleLocal ~/.vim/plugins

" Installation check.
if neobundle#exists_not_installed_bundles()
  echomsg 'Not installed bundles : ' .
    \ string(neobundle#get_not_installed_bundle_names())
  echomsg 'Please execute ":NeoBundleInstall" command.'
endif

と.vimrcに設定しており、vim起動後に

「Not Installed bundles : ["C:¥Document and Setting¥users¥.vim¥plugins¥...]」
(配下すべてのプラグインが表示)

が表示されるようになりました。

Fail to call `neobundle#config#bundle`

Fail to call neobundle#config#bundle('vim-powerline') ( 'vim-powerline' is an example )

Error detected while processing function neobundle#config#bundle:
line    1:
E121: Undefined variable: vim     

plugin updateのskip判定について

https://github.com/Shougo/neobundle.vim/blob/master/autoload/neobundle/installer.vim#L385

  elseif a:context.source__bang == 1 &&
        \ (a:bundle.updated_time < before_one_week
        \ || (a:bundle.updated_time < before_one_month
        \     && a:bundle.checked_time < before_one_month)
        \ || (a:bundle.updated_time < before_one_week
        \     && a:bundle.checked_time < before_one_week))
  • ここの2行目以降の条件判定部分、最初のa:bundle.updated_time < before_one_weekがfalseだと残りの部分も自動的にfalseになるため、実質a:bundle.updated_time < before_one_weekだけの判定になってます。
  • そのため、一旦a:bundle.updated_time < before_one_weekがtrueになると、以降はupdated_timeが更新されないため常にskipされ、強制update以外ではupdateできなくなると思うのですが、仕様でしょうか?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.