Quote:
Originally Posted by _dave_
See, this example I would consider using the mouse far and away the most productive method - only 2 clicks!
Regardless of where caret is, one left click and tiny drag to highlight the desired line.
Regardless of where the duplicate is wanted, single middle click to insert it.
The same method applies if a larger than one-line chunk is needed, with very little increase of effort.
More productive than `yyp` or <x>yp, where x is # of a few lines?
If there's many lines you need to copy, you can enter visual line mode via `V`, and then use any vim navigation command (e.g. j, CTRL+d, gg, G, /, }), followed by y to copy.
For example, say you're on line 300 on a 400 line document and want to copy until the end. What's easier? Dragging and scrolling/pulling the mouse, or just VGy?
Moreover, unless I'm casually browsing the web or my hands are already off the keyboard, I hardly ever use the mouse. Most of my popular programs are started via key-bindings or aliases, and I use i3 to tile my window. Even on chrome I use the vimium extension.