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

Words in parens - 13028 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #1890 / 3984
  • Number of attempts: 2
Minimalist Limerick - 531 entries

Reproduce this lovely poem.

  • Best score: 30
  • Best player score: 32
  • Position: #38 / 175
  • Number of attempts: 7
Define to require - 139 entries

When JSHint is enabled, there's a rule that doesn't let you have more than 6 arguments in a function, so the moment you need to add a 7th argument, you need to do a refactoring.

  • Best score: 62
  • Best player score: 99
  • Position: #37 / 51
  • Number of attempts: 4
Refactor arguments into object argument - 181 entries

A relatively common Javascript refactoring.

  • Best score: 48
  • Best player score: 77
  • Position: #55 / 69
  • Number of attempts: 1
Stairs Indenting - 479 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 16
  • Position: #163 / 199
  • Number of attempts: 1
DOUG BLACK
Twitter:

making complex feel simple at twilio

entered into 5 challenges

contributed 0 challenges