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

Extract argument from function - 2355 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #120 / 752
  • Number of attempts: 2
Just the middle - 11423 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #248 / 4185
  • Number of attempts: 3
Basic renumbering - 5645 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Position: #377 / 1263
  • Number of attempts: 7
readability - 327 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Position: #28 / 152
  • Number of attempts: 1
remove all lines in first part - 211 entries

From the second part, remove all lines in the first part. It can be useful when you have done something from a long list, you want to know what is not done yet!

  • Best score: 13
  • Best player score: 14
  • Position: #5 / 67
  • Number of attempts: 4
Shuffled numbers - 246 entries

Each number is paired with the number it should follow. That's enough information to put them in order.

  • Best score: 15
  • Best player score: 15
  • Position: #18 / 96
  • Number of attempts: 3
I forgot quotes - 15974 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1552 / 4175
  • Number of attempts: 2
Subtraction - 180 entries

Solve the equations.

  • Best score: 18
  • Best player score: 18
  • Position: #8 / 62
  • Number of attempts: 3
Counting in binary - 524 entries

"a" represents 0; "A" represents 1. Start from zero and count to 15.

  • Best score: 16
  • Best player score: 34
  • Position: #61 / 116
  • Number of attempts: 2
Words in parens - 12928 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1457 / 3960
  • Number of attempts: 2
Another Mixed-Up Haiku - 250 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 21
  • Position: #33 / 88
  • Number of attempts: 4
Fix the Haiku - 293 entries

Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.

  • Best score: 28
  • Best player score: 46
  • Position: #85 / 112
  • Number of attempts: 3
Rui Mendes
Twitter:

Geek, obsessive programming language learner

entered into 12 challenges

contributed 0 challenges