Thursday, February 24, 2022

Re: Blink shell touch actions to custom mouse actions

On 2022-02-24, Julius Hamilton wrote:

> On Wed 23. Feb 2022 at 19:34, Christian Brabandt wrote:

> 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.

> Awesome, thanks very much.
>
> What is the formal name of those character combinations?

One way to find the names is to type Ctrl-K instead of Ctrl-V before
generating the characters. For example, Ctrl-K followed by the left
arrow key will insert the six characters "<Left>".

See
:help i_CTRL-V
:help i_CTRL-K

> Then I will see about mapping them to mouse events I suppose?
>
> Or do the mouse events get mapped to Vim navigation commands or something?

See
:help mouse-overview
:help 09.2

Regards,
Gary

--
--
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 vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220224182036.GB19760%40phoenix.

No comments: