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.
Created 2021-06-19T14:57:53-07:00 · Edit