Deoplete.nvim: Leave the preview window always closed

Created on 24 Jun 2016  路  9Comments  路  Source: Shougo/deoplete.nvim

Hi @Shougo and thank you for your great work.
I'm reading the deoplete docs, but I cannot find a way to disable the automatic opening of the preview window when deoplete matches something.

I set up the automatic close with autocmd CompleteDone * pclose! when I choose a match, but I would like to keep it always closed and open it when I need it.

How can I reach these goals?

Thank you.

Most helpful comment

set completeopt-=preview

All 9 comments

set completeopt-=preview

Ok, so this is not deoplete related, but a general Vim/Neovim general settings.
But this is only half of the answer: if I have a match that I'curious to learn more about, how to open that window?
Sorry for my newbe questions, but things like that maybe deserve to be inserted in the docs...

But this is only half of the answer: if I have a match that I'curious to learn more about, how to open that window?

It cannot. This feature is not implemented in Vim/NeoVim.

Ah ok, this is s a pity.
Thank you anyway!

Probably this will be very useful on the faq section, can we put it?

Added

Instead of set completeopt-=preview, is it possible to toggle it dynamically?

It is possible.
You should study Vim script.

Thanks @Shougo this was driving me crazy.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rafi picture rafi  路  4Comments

pr4th4m picture pr4th4m  路  4Comments

firedev picture firedev  路  4Comments

marcus picture marcus  路  6Comments

iscekic picture iscekic  路  6Comments