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

One number per line - 18395 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2954 / 3793
  • Number of attempts: 2
Swap values inside brackets - 2433 entries

Easy challenge.

  • Best score: 14
  • Best player score: 30
  • Position: #520 / 561
  • Number of attempts: 2
Applying same text modification in several lines - 2751 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #42 / 815
  • Number of attempts: 5
Copy three lines - 2801 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #106 / 625
  • Number of attempts: 11
Extract argument from function - 2218 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #213 / 729
  • Number of attempts: 7
Just the middle - 11141 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1160 / 4114
  • Number of attempts: 4
Vice versa - 7535 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #413 / 2048
  • Number of attempts: 7
Align commas - 1040 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
  • Position: #95 / 236
  • Number of attempts: 17
I forgot quotes - 15748 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #796 / 4116
  • Number of attempts: 8
Words in parens - 12736 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1672 / 3919
  • Number of attempts: 12
i33
Twitter:

entered into 10 challenges

contributed 0 challenges