Hello!
Thanks a lot for this plugin, it's very useful!
I've searched existing issues & repo for mouse but didn't find useful results so here goes this issue.
Currently the context window is created with focusable = false, which means AFAIK:
- Buffer-local keymaps cannot be set on it
- Mouse clicks fall through to the buffer line behind the float, not the context line visually under the cursor
Is there another way I don't see to bind <LeftMouse> to a sensible action to navigate to a targeted context line?
Maybe there could be an option to control the window creation options and a callback (or similar mechanism) to bind a mapping myself.
|
Alternatively, provide a way to find the context winid for a window.
Alternatively, provide an option that does exactly this behind the scene.
I think that if the window is only focused briefly for the click and processing, it doesn't really matter whether it is focusable or not 🤔
If the added complexity is not desirable here, do you think it has a chance to land as a modification to focusable on the neovim repo?
Hello!
Thanks a lot for this plugin, it's very useful!
I've searched existing issues & repo for
mousebut didn't find useful results so here goes this issue.Currently the context window is created with
focusable = false, which means AFAIK:Is there another way I don't see to bind
<LeftMouse>to a sensible action to navigate to a targeted context line?Maybe there could be an option to control the window creation options and a callback (or similar mechanism) to bind a mapping myself.
|
Alternatively, provide a way to find the context winid for a window.
Alternatively, provide an option that does exactly this behind the scene.
I think that if the window is only focused briefly for the click and processing, it doesn't really matter whether it is focusable or not 🤔
If the added complexity is not desirable here, do you think it has a chance to land as a modification to
focusableon the neovim repo?