99 words
1 minute
Mouse support in vim
Anubhav Gain
2024-03-11

Mouse support in vim#

Today I learned that if you hit Esc in vim and then type :set mouse=a and hit enter… vim grows mouse support! In your terminal!

You can use the mouse to select blocks of text and move the insertion cursor around, then hit del to delete it or type to replace it.

I learned this after tweeting a demo video of Will McGugan’s brilliant new textual Python library for building TUIs - terminal user interfaces - and marveling at how his demo application can already respond to mouseover events and scroll wheel activation while running in the terminal.

Mouse support in vim
https://mranv.pages.dev/posts/mouse-support-in-vim/
Author
Anubhav Gain
Published at
2024-03-11
License
CC BY-NC-SA 4.0