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

Fix the Haiku - 247 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
  • Number of attempts: 3
Counting in binary - 393 entries

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

  • Best score: 16
  • Best player score: 34
  • Number of attempts: 2
remove all lines in first part - 149 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
  • Number of attempts: 4
readability - 287 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 1
I forgot quotes - 12890 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Number of attempts: 2
Another Mixed-Up Haiku - 201 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 21
  • Number of attempts: 4
Extract argument from function - 2061 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
Basic renumbering - 4854 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 7
Just the middle - 9767 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
Words in parens - 11449 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 2
Shuffled numbers - 199 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
  • Number of attempts: 3
Subtraction - 147 entries

Solve the equations.

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 3
Rui Mendes
Twitter:

Geek, obsessive programming language learner

entered into 12 challenges

contributed 0 challenges