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

Wrap the text of an email message to 79 characters - 576 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Position: #151 / 352
  • Number of attempts: 1
Word frequency alignment - 241 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #29 / 145
  • Number of attempts: 1
Enumerate words - 232 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 27
  • Position: #51 / 84
  • Number of attempts: 1
Refactor arguments into object argument - 160 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 86
  • Position: #58 / 64
  • Number of attempts: 2
A simple change - 396 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 18
  • Position: #156 / 175
  • Number of attempts: 1
The name of the game - 627 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #78 / 343
  • Number of attempts: 1
you're stuck on jQuery < 1.7 - 330 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 40
  • Position: #99 / 107
  • Number of attempts: 1
Append semicolon after expressions - 942 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 17
  • Position: #370 / 385
  • Number of attempts: 1
Sort and add attributes - 1183 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #287 / 482
  • Number of attempts: 2
Simple text editing with Vim - 11620 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #965 / 3409
  • Number of attempts: 2
Phil
Twitter:

Organiser of @spanconf, Developer at @Yammer, Erlang Fan, ex-Couchbase. Author of JavaScript Domain-Driven Design. @sideshowcoder everywhere else

entered into 10 challenges

contributed 0 challenges