News for hackers. Stuff that matters.
Re:Seven habits of effective text editing (2000) by Moogs on Monday October 23, 2017 @09:06AM (#15532864)
Vim does have support for mouse usage (depending on the terminal)[0]. You can add the following to your config:

set mouse=a

At that point you can quickly select text, hit "d" to cut it, click where you want it and hit p

[0] http://vimdoc.sourceforge.net/htmldoc/options.html#%27mouse%...

Re:Seven habits of effective text editing (2000) by jimmaswell on Monday October 23, 2017 @10:09AM (#15533254)
I knew about this but I assumed it couldn't be done through ssh/putty.
Re:Seven habits of effective text editing (2000) by kazinator on Monday October 23, 2017 @03:21PM (#15536147)
What cannot be used through SSH/PuTTY is the IDE that you're comparing text-only Vim to.
Re:Seven habits of effective text editing (2000) by jimmaswell on Monday October 23, 2017 @09:52PM (#15538622)
One that runs on X can be tunneled.
Re:Seven habits of effective text editing (2000) by jstimpfle on Monday October 23, 2017 @01:59PM (#15535346)
It works independently of transmission method since the mouse clicks are simply translated into "keyboard presses", i.e. encoded to stdin as escape sequences. It's a single stream.

Of course, the terminal emulator must play nice with the windowing environment and translate mouse events correctly.

Re:Seven habits of effective text editing (2000) by geofft on Monday October 23, 2017 @10:33AM (#15533422)
It works through PuTTY, and moreover it's the default config in Debian 9, which I find sort of annoying because I'm used to using the mouse in PuTTY for copy/paste. But it does work smoothly (including through a screen session and through ssh to other machines).
Re:Seven habits of effective text editing (2000) by shangxiao on Monday October 23, 2017 @10:48AM (#15533541)
Perhaps you should add an [edit] to your original post seeing as it's nabbed top spot and spawning several threads about lack of cursor support?
Re:Seven habits of effective text editing (2000) by exDM69 on Monday October 23, 2017 @10:20AM (#15533327)
Not sure about putty but it definitely works over SSH depending on your terminal emulator.