3 ms·
On Vim, ":set mouse" enables the use of the rodent inside the application. See ":help mouse" for more information. If it's set to "n" (for "normal mode") or "a
by mfontani 6y ago
On Vim, ":set mouse" enables the use of the rodent inside the application. See ":help mouse" for more information.
If it's set to "n" (for "normal mode") or "a" (for "all modes"), it pretty much does what you're mentioning: one can instantly move the cursor to a given spot; use the scroll wheel to scroll the document, and (via netrw or any other file explorer or side-bar plugin) double-click to open a different file.
- spijdar 6y agoAs someone who primarily uses vim, I've never been able to use its mouse mode. There's something that feels off about it -- when selecting text with the mouse, it feels very imprecise somehow. If someone wanted good mouse support, I'm not sure it'd cut it. I prefer keyboard selection myself, but there are times mouse selection is faster, and I usually use not-vim for that.
- hollerith 6y agoIf you select text with the mouse, then press delete, does the selected extent of text get deleted from the buffer (i.e., the in-memory copy of the file)?