You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think with the latest version of the history patch this should be possible in normal mode; in normal mode you can click a location, which should subsequently become active. If you click twice, the word underneath is selected and copied into clipboard, I think if you click three times it copies the entire line.
In insert mode this is currently not possible, might be cool to add that (+ maybe a way to leave normal mode & keep the current location). But I think when I had a look at this initially, the naive implementation seemed like a bit more work / error prone than I expected, because we not only need the location on screen, but also extract the current location inside the command buffer. But that's quite a while ago, I am not too sure if I remember correctly
or do you mean scroll up and down? That is currently not implemented, but should be an easy-ish addition (that you could also patch on top of the vim patch).
for moving up you can use:
historyMove(0, -(int)state.m.c, 0);
motion down is without the -.
you can theoretically add this to the shortcuts table, but that would be executed even if not in normal mode, so probably you should implement it in executeMotion or kPressHist; (wherever you have access to the input produced by spinning the weel up / down resp).
If you want help on this I can look into this at some point in the future and come back to you about this in this issue in the next couple of days / weeks
Is thera a way move by mouse when into normal mode?
The text was updated successfully, but these errors were encountered: