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 - 11363 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 12
One number per line - 14114 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 2
Applying same text modification in several lines - 1975 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
Extract argument from function - 2048 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 - 1722 entries

Easy challenge.

  • Best score: 13
  • Best player score: 30
  • Number of attempts: 2
I forgot quotes - 12694 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Copy three lines - 2237 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
Vice versa - 6237 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 7
Just the middle - 9656 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
Align commas - 874 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