Skip to content

Commit a04475f

Browse files
authored
Mouse support in vim
1 parent 789e655 commit a04475f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vim/mouse-support-in-vim.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Mouse support in vim
2+
3+
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!
4+
5+
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.
6+
7+
I learned this after tweeting [a demo video](https://twitter.com/simonw/status/1406336417500860423) of Will McGugan's brilliant new [textual](https://github.com/willmcgugan/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.

0 commit comments

Comments
 (0)