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 - 846 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #151 / 437
  • Number of attempts: 1
Word frequency alignment - 296 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 / 163
  • Number of attempts: 1
Enumerate words - 257 entries

Enumerate the unique words in order.

  • Best score: 23
  • Best player score: 27
  • Position: #55 / 92
  • Number of attempts: 1
Refactor arguments into object argument - 166 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 86
  • Position: #61 / 68
  • Number of attempts: 2
A simple change - 476 entries

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

  • Best score: 12
  • Best player score: 18
  • Position: #173 / 196
  • Number of attempts: 1
The name of the game - 678 entries

End up with the name of the game.

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

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

  • Best score: 25
  • Best player score: 40
  • Position: #103 / 113
  • Number of attempts: 1
Append semicolon after expressions - 1061 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 17
  • Position: #405 / 421
  • Number of attempts: 1
Sort and add attributes - 1539 entries

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

  • Best score: 33
  • Best player score: 34
  • Position: #355 / 594
  • Number of attempts: 2
Simple text editing with Vim - 13262 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1049 / 3810
  • 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