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

I forgot quotes - 15138 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Just the middle - 10825 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Vice versa - 7165 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
Applying same text modification in several lines - 2589 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 5
Words in parens - 12378 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 12
Copy three lines - 2615 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 11
One number per line - 17465 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 2
Extract argument from function - 2138 entries

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 7
Swap values inside brackets - 2313 entries

Easy challenge.

  • Best score: 14
  • Best player score: 30
  • Number of attempts: 2
Align commas - 957 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 17
i33
Twitter:

entered into 10 challenges

contributed 0 challenges