Firstly, that's 6 keypresses, because you don't need to lift your finger off Command.
Secondly, that's just using the minimal set of shortcuts that work anywhere. If you're in an actual editor, it almost certainly has a shortcut like Ctrl-Shift-D for duplicate line.
And I think a lot of vim users might be surprised how simple and straightforward things can be in a modern editor.
Re:Vim for Humans
by GrinningFool on Tuesday October 18, 2016 @01:12AM
(#12732284)
Absolutely right on the six, my bad.
Total keypresses for yyp: 3 (4 if you have to esc to normal mode first)
My point being that even the simple and straightforward actions you provided are more complex than they seem.