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

We should all ace this, right?

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

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 2
Applying same text modification in several lines - 1256 entries

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

  • Best score: 4
  • Best player score: 13
  • Number of attempts: 5
Extract argument from function - 1928 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 - 1187 entries

Easy challenge.

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

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 8
Copy three lines - 1871 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 - 5635 entries

Little role switching.

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

Delete the instructions at the top and bottom.

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