On Mi, 23 Feb 2022, Julius Hamilton wrote:
> Hey, > > I’m using iOS SSH apps (Blink shell; Termius) which support various touch > gestures; I believe they get mapped to certain mouse actions in the terminal. > > I’d like to customise the effect of these touch gestures in Vim. > > I am pretty sure I can’t change what mouse action a touch gesture corresponds > to but I hopefully can change what Vim does on a certain mouse event. > > So for example, I would like accelerated scrolling, maybe when you hold and > drag down, the speed of scrolling slowly speeds up. Or, if you press two > fingers and swipe down, that’s faster than just one finger. > > Can anyone recommend how I might remap mouse actions to accelerated scrolling > in Vim? I guess it depends on how your terminal receives those gestures. I am not sure, if a terminal can receive special mouse gestures like touch scroll but it really depends. Try in your terminal to go to insert mode, type Ctrl-V and then use one single gesture and see what vim receives. Best, Christian -- Zwei Schafe auf der Wiese. Sagt das eine: "Määähhh!", darauf das andere: "Mäh selbst!" -- -- You received this message from the "vim_use" 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_use" 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_use/20220223183354.GF346149%40256bit.org.
