Hacker News new | ask | show | jobs
by Langdal 3377 days ago
I am also a vim user, but agree that in some cases it can be faster to select text with the cursor. However, you lose some time moving your hand between the keyboard and mouse, so I usually don't do it.

However, you can have both. Neovim is a drop-in replacement for vim that lets you use the mouse to select text, scroll, change windows or panes, resize splits and so on. Resizing splits is one of those things that I prefer to do with a cursor.

I think vim can do some of the same things (all?), but it requires some configuration.

2 comments

> I think vim can do some of the same things (all?), but it requires some configuration.

I don't think it requires anything beyond `set mouse=a` in your vimrc, and not even that if you're using gVim.

Because of some troubles with the integration with the clipboard, mouse support by default has been reverted for now in neovim. You can still enable it with

     set mouse=a