On Mo, 05 Okt 2020, Blay263 wrote:
> On Monday, October 5, 2020 at 10:28:08 AM UTC-4 Bram Moolenaar wrote:
>>     I have been thinking of this, but it raises many questions:
>> 
>>     - How to focus a popup? I imagine in most cases you want to switch
>>     between the current window and the popup, back and forth. This
>>     matters especially if you already have a dozen split windows, you
>>     don't want to cycle through all of them to reach the popup, and
>>     you don't want to cycle through all windows to end up in the one
>>     you were coming from.

Can't we amend CTRL-W_P to this? E.g. if there exists a popup window, go 
to that one, else if there exists a preview window go to that one else 
error. I would imagine, that the preview window is not of that much use 
now with popup windows. 

>>     - If there is more than one focusable popup, how to reach each of
>>     them? Perhaps some are connected to a specific window (e.g. for
>>     completion or anchored to text), or some are unrelated to a
>>     specific window (e.g. help).
>> 
>>     - What if the focused popup window closes? What if it closes while
>>     you are typing (since they might be under control of some async
>>     plugin)?
>> 
>>     - How to avoid this turns into an avalanche of more feature
>>     requests? Aka creeping featurism.
>
> I think the use cases have been detailed above and are limited. Neovim
> provides a proof of concept. Not having the popup focusable is
> blocking specific functionality that is already available in Neovim.

So how does Neovim answer those questions raised?


Best,
Christian
-- 
Sie denkt: Wird er der Meine sein, ist bald auch all' das Seine mein.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20201006114152.GG1002%40256bit.org.

Raspunde prin e-mail lui