Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put [challenge ID]

Played Challenges

V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #820 / 1899
  • Number of attempts: 1
Extract argument from function - 2372 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #496 / 757
  • Number of attempts: 1
Subtraction - 180 entries

Solve the equations.

  • Best score: 18
  • Best player score: 23
  • Position: #30 / 62
  • Number of attempts: 2
-a-b-c- - 3216 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Position: #449 / 1138
  • Number of attempts: 1
NBCU Weekly Challenge - Test - 253 entries

Just testing.

  • Best score: 18
  • Best player score: 20
  • Position: #86 / 116
  • Number of attempts: 1
Lisp Condense - 460 entries

Reduce 4 cons selection operations down to one function call.

  • Best score: 13
  • Best player score: 14
  • Position: #67 / 158
  • Number of attempts: 2
120 Degrees - 505 entries

Rotate that triangle.

  • Best score: 14
  • Best player score: 20
  • Position: #79 / 146
  • Number of attempts: 1
NBCU Weekly Challenge - #0 - 139 entries

One of our favorites lines here at NBCU! p.s. The first version of #0 was deleted due to me copy/pasting a HTML entity. Congrats to the one who figured that out, you are a true ninja warrior!

  • Best score: 30
  • Best player score: 30
  • Position: #2 / 58
  • Number of attempts: 4
Comparing scores - 112 entries

If Alice and Bob both did the challenge, put their entries together in the top paragraph, so we can compare their scores more easily.

  • Best score: 18
  • Best player score: 21
  • Position: #5 / 35
  • Number of attempts: 2
Neither Fizz nor Buzz - 257 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Position: #48 / 104
  • Number of attempts: 2
Two become one - 716 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 30
  • Position: #91 / 209
  • Number of attempts: 3
Where should I put the Newline? - 883 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 7
  • Position: #84 / 438
  • Number of attempts: 2
Mess in revision history - 1210 entries

Help Joe clean up what Steve has cobbled.

  • Best score: 17
  • Best player score: 29
  • Position: #188 / 254
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10699 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 13
  • Position: #2545 / 3695
  • Number of attempts: 1
Words in parens - 12975 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2139 / 3971
  • Number of attempts: 1
Vertical Limit - 2574 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 38
  • Position: #734 / 761
  • Number of attempts: 1
Append semicolon after expressions - 1057 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #330 / 420
  • Number of attempts: 1
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 13
  • Position: #1147 / 1750
  • Number of attempts: 1
Numbering a List - 1939 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #260 / 655
  • Number of attempts: 3
Change the content of a string - 1659 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #136 / 612
  • Number of attempts: 1
Simple text editing with Vim - 13134 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1340 / 3776
  • Number of attempts: 3
Marco Biasini
Twitter:

entered into 21 challenges

contributed 0 challenges