Open kevin4fly opened 9 years ago
Thanks. Hm... I guess this issue is related with NeoBundleLazy
by chance, so would you mind removing Lazy
and confirm whether the issue is caused by Lazy
or not.
yes, you are right. the fact is as what you said. Removing the Lazy
of incsearch
, all things works fine.
Thanks for the confirmation.
Hmm.... I don't know why but something conflict with lazy loading mappings. I guess we should report it to neobundle as well.
But, anyway, I recommend you not to use lazy loading with incsearch.vim (and vim-asterisk as well) because incsearch.vim doesn't execute heavy scripts at startup at all. There are just some definition of mappings and commands.
Oh, and I guess this is incsearch.vim's problem, not vim-asterisk's one.
Previously, incsearch.vim just works fine. However, this issue occurs after adding the vim-asterisk. Thus I file report it to asterisk.
I think if there is anther issue report (in incsearch.vim or neobundle) to keep track of this, you could feel free to close it.
I accept that remove the lazy suffix, it is not a big deal. Now things are done and thanks.
Previously, incsearch.vim just works fine. However, this issue occurs after adding the vim-asterisk. Thus I file report it to asterisk.
Hm, how about vim-anzu?
Oh, the vim-anzu
plugin works fine.
I have a question, should I still add thinca/vim-visualstar
plugin after I have added haya14busa/vim-asterisk
?
From the haya14busa/vim-asterisk
doc:
CREDITS asterisk-credits
|asterisk.vim| uses the code from vim-visualstar for visual star feature.
- Plugin: https://github.com/thinca/vim-visualstar
- Author: thinca (https://github.com/thinca)
I test it also, star
feature works OK without vim-visualstar
added. I am gonna double check with you. :)
Oh, the vim-anzu plugin works fine.
Thanks! Hmm... vim-asterisk use <expr>
mappings, so it may have something to do with it.
I test it also, star feature works OK without vim-visualstar added. I am gonna double check with you. :)
Oh, I guess that's my bad. My explanation in the document is confusing. You don't have to install visualstar in addition to vim-asterisk, I just took some code from visualstar.
I have installed
haya14busa/incsearch.vim
,haya14busa/vim-asterisk
,osyo-manga/vim-anzu
andthinca/vim-visualstar
vianeobundle
. And here are the settings for these plugins:Open a file via
vim
, move cursor to a word and press*
. It doesn't search the word under the cursor. Clear the unexpected result, move cursor the a word and press*
again. It just works fine. This issue only happens when we do the search for the 1st time.