You can also use Vi for hundreds of challenges at http://golf.shinh.org alot of the newer challenges are stale but some of the older ones are gold.
VimGolf.com - real Vim ninjas count every keystroke
61–70 of 86 posts
Re: VimGolf.com - real Vim ninjas count every keystroke
#62Re: VimGolf.com - real Vim ninjas count every keystroke
#63☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
☆ ==== http://ta.gg/4wt ====
Re: VimGolf.com - real Vim ninjas count every keystroke
#64FizzBuzz: (score: 71) i1^] qaYp CTRL+a q98@aggjjqaA Fizz^] 3jq32@agg:5 ENTER qaA Buzz^] 5jq19@a:%s/z B/zB/ ENTER ZZ
Re: VimGolf.com - real Vim ninjas count every keystroke
#65Unbelievable. I had this exact same idea. Get out of my mind!
Re: VimGolf.com - real Vim ninjas count every keystroke
#66Only thing is that the key counting doesn't seem to be consistent. :\ Using the command history seems to really, really screw with the counts. I thought it counted up all the characters in the submitted command, but this doesn't seem to be the case. I submitted an 18 for the "Sort and add attributes" challenge, then realized that the text for the new key is longer than that. :\
I'm not really clear on what "counts" as a keypress (shift key? colon for commands? Paste commands? Esc?) and I haven't been able to get any of my "scores" to match up with the count in my head.
All that aside, this is a barrel of fun, and I'm sure these kinks will get worked out.
Re: VimGolf.com - real Vim ninjas count every keystroke
#67I want to go head to head with someone in match play.
Re: VimGolf.com - real Vim ninjas count every keystroke
#68This awesomeness unexpectedly sucked away half my afternoon. Not really sure whether to be upset about it our not. :) Only thing is that the key counting doesn't seem to be consistent. :\ Using the command history seems to really, really screw with the counts. I thought it counted up all the characters in the submitted command, but this doesn't seem to be the case. I submitted an 18 for the "Sort and add attributes"…
Re: VimGolf.com - real Vim ninjas count every keystroke
#69Re: VimGolf.com - real Vim ninjas count every keystroke
#70Earlier quoted context omitted.
qa/v yypjddq@a@a 16 :P
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.