News for hackers. Stuff that matters.
Re:VimGolf.com - real Vim ninjas count every keystroke by Complete on Tuesday December 28, 2010 @03:41PM (#2046684)
qa/v<ENTER>yypjddq@a@a

16 :P

Re:VimGolf.com - real Vim ninjas count every keystroke by Xurinos on Tuesday December 28, 2010 @03:43PM (#2046696)
If this contest also rated by finger distance (one of vim's strengths), I'd propose qq and @q@@ instead of using the "a" register.
Re:VimGolf.com - real Vim ninjas count every keystroke by BrandonM on Tuesday December 28, 2010 @09:12PM (#2047660)
Agreed. I'm surprised by all the "qa"s I'm seeing. I've always used "qq" for quick macros and kind of assumed everyone else did as well. It's especially convenient considering that @ and q are right next to each other on a qwerty layout.
Re:VimGolf.com - real Vim ninjas count every keystroke by Symmetry on Tuesday December 28, 2010 @03:42PM (#2046691)
qa/v<ENTER>yypJDq@a@a

15

Re:VimGolf.com - real Vim ninjas count every keystroke by Xurinos on Tuesday December 28, 2010 @03:45PM (#2046708)
Isn't that 19? Shift key...
Re:VimGolf.com - real Vim ninjas count every keystroke by gfodor on Tuesday December 28, 2010 @03:46PM (#2046717)
Nice!

qa/v<ENTER>YpJDq@a@a

Re:VimGolf.com - real Vim ninjas count every keystroke by Symmetry on Tuesday December 28, 2010 @04:01PM (#2046775)
Arg, the fact that Y and yy are synonyms always messes me up. Why can't it be like c/C/cc and d/D/dd?
Re:VimGolf.com - real Vim ninjas count every keystroke by lelele on Tuesday December 28, 2010 @04:46PM (#2046940)
Because then it would be consistent ;-)

Of course I have remapped Y to be consistent with C, D, etc.