Sofronie Cristian
Sofronie Cristian
Should the mouse stuff be exposed as normal actions?
Ok, I implemented scrolling up, down, left, right, click, double-click as simple actions with default mappings. I think this pr is in a decent state. Should I add anything else....
I think have fixed it
Cool. And god damn that is a big pr :sweat_smile:
For scrolling he results it could be done with something like this ```lua [''] = actions.move_selection_previous, [''] = actions.move_selection_next, ``` This should be added in the default mappings. This should...
As for the preview window maybe there is a simple solution also. If not there is the hard solution with vim.fn.getmousepos() to get the position of the mouse and see...
It seems that LSP hovers can be scrolled without being active so there should be a simple way to achieve this.
Maybe if we use focusable with nvim_open_win the preview will also scroll.
Setting focusable = true makes scrolling in the preview possible but only if the mappings for the results window are not set
focusable = true, the keybinds and holding Alt while scrolling the preview is the closes I have come to a complete solution.