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

Sort entries based on date - 305 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 30
  • Number of attempts: 2
Case preserving word replacement - 395 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 23
  • Number of attempts: 2
formatted text to markdown - 175 entries

You're converting some posts from an old blog to markdown. The formatted text is far closer to the finished product than the html markup, so it seems like a good place to start. Word wrapping seems to be the main area for optimization.

  • Best score: 70
  • Best player score: 79
  • Number of attempts: 4
PHP <--> Java class conversion Part 2 - 84 entries

Same class but reverse!

  • Best score: 80
  • Best player score: 131
  • Number of attempts: 2
Append semicolon after expressions - 898 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Number of attempts: 2
Line Zipper - 402 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Number of attempts: 2
PHP <--> Java class conversion Part 1 - 179 entries

Convert this tiny php class to adequate java one.

  • Best score: 65
  • Best player score: 91
  • Number of attempts: 2
Andrew Radev
Twitter:

Web developer, Vim plugin-writer, funny-thing-retweeter. Word inventor.

entered into 7 challenges

contributed 0 challenges