Mouse input support for vim in Windows Terminal #13554

Closed
opened 2026-01-31 03:45:41 +00:00 by claunia · 6 comments
Owner

Originally created by @MhammadDayeh on GitHub (Apr 19, 2021).

In Linux and macOS, I can use my mouse with vim when I do 'set mouse=a', I can scroll thru the opened file, select text, click etc.
I would like to make this happen in Windows Terminal because sometimes it is useful to use the mouse, even when I'm used to keyboard shortcuts. I know that mouse support is added to Windows Terminal to be used in WSL, but its good to have it for other uses.

This video shows that I cannot use my mouse to navigate the app.
V
https://user-images.githubusercontent.com/42265793/115291009-479a5e80-a165-11eb-9ca4-1c65fe692e88.mp4

This video shows how I am supposed to be able to use the app, I can click, move, scroll and use the mouse.
V
https://user-images.githubusercontent.com/42265793/115290971-3bae9c80-a165-11eb-853e-47a664ba2661.mp4

Is it possible to make Windows Terminal recognize mouse input and use it like WSL? Thank you.

Originally created by @MhammadDayeh on GitHub (Apr 19, 2021). In Linux and macOS, I can use my mouse with vim when I do 'set mouse=a', I can scroll thru the opened file, select text, click etc. I would like to make this happen in Windows Terminal because sometimes it is useful to use the mouse, even when I'm used to keyboard shortcuts. I know that mouse support is added to Windows Terminal to be used in WSL, but its good to have it for other uses. This video shows that I cannot use my mouse to navigate the app. V https://user-images.githubusercontent.com/42265793/115291009-479a5e80-a165-11eb-9ca4-1c65fe692e88.mp4 This video shows how I am supposed to be able to use the app, I can click, move, scroll and use the mouse. V https://user-images.githubusercontent.com/42265793/115290971-3bae9c80-a165-11eb-853e-47a664ba2661.mp4 Is it possible to make Windows Terminal recognize mouse input and use it like WSL? Thank you.
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 03:45:42 +00:00
Author
Owner

@skyline75489 commented on GitHub (Apr 20, 2021):

I think this is #376. Unfortunely mouse input support does not for vim atm . If you really want to use that, you can try neovim, which uses VT mouse input.

@skyline75489 commented on GitHub (Apr 20, 2021): I think this is #376. Unfortunely mouse input support does not for vim atm . If you really want to use that, you can try neovim, which uses VT mouse input.
Author
Owner

@zadjii-msft commented on GitHub (Apr 20, 2021):

Yep, sure is.

/dup #376

@zadjii-msft commented on GitHub (Apr 20, 2021): Yep, sure is. /dup #376
Author
Owner

@ghost commented on GitHub (Apr 20, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Apr 20, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Author
Owner

@MhammadDayeh commented on GitHub (Apr 20, 2021):

Thank you @skyline75489 @zadjii-msft.

@MhammadDayeh commented on GitHub (Apr 20, 2021): Thank you @skyline75489 @zadjii-msft.
Author
Owner

@ch2925 commented on GitHub (Apr 27, 2021):

I'm using vim under cygwin with python 3.8.The mouse input works well with it.

@ch2925 commented on GitHub (Apr 27, 2021): I'm using vim under cygwin with python 3.8.The mouse input works well with it.
Author
Owner

@MhammadDayeh commented on GitHub (Apr 29, 2021):

Thank you @ch2925, I am familiar with cygwin and wanted to try it out since long ago, ill c.

@MhammadDayeh commented on GitHub (Apr 29, 2021): Thank you @ch2925, I am familiar with cygwin and wanted to try it out since long ago, ill c.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13554