CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 14:09:45 GMT
server: Fly/6f91d33b9d (2025-10-08)
content-type: text/html; charset=utf-8
content-encoding: gzip
via: 2 fly.io, 2 fly.io
fly-request-id: 01K79SPASDSGTRVGP6TMAH2SSK-bom
Mouse support in vim | Simon Willison’s TILs
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.
Related
- macos impaste: pasting images to piped commands on macOS - 2024-04-04
- github Bulk editing status in GitHub Projects - 2023-06-29
- macos Atuin for zsh shell history in SQLite - 2022-04-26
- css Understanding the CSS auto-resizing textarea trick - 2023-09-30
- ios Listen to a web page in Mobile Safari - 2024-05-21
- typescript Very basic tsc usage - 2020-09-06
- macos Close terminal window on Ctrl+D for macOS - 2020-04-21
- github Syntax highlighting Python console examples with GFM - 2021-01-18
- zsh Customizing my zsh prompt - 2020-08-12
- macos Get Skitch working on Catalina - 2020-04-21
Created 2021-06-19T14:57:53-07:00 · Edit