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

Just give me the numbers.

  • Best score: 14
  • Best player score: 21
  • Position: #2378 / 3841
  • Number of attempts: 5
Split line with dots - 2124 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 16
  • Position: #218 / 629
  • Number of attempts: 6
Just the middle - 11346 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #902 / 4160
  • Number of attempts: 3
Vice versa - 7778 entries

Little role switching.

  • Best score: 12
  • Best player score: 17
  • Position: #1570 / 2095
  • Number of attempts: 2
I forgot quotes - 15922 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Position: #3194 / 4159
  • Number of attempts: 1
Words in parens - 12848 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2907 / 3943
  • Number of attempts: 4
switch variable - 5028 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #468 / 1734
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 6511 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 48
  • Position: #1262 / 1602
  • Number of attempts: 1
Anders Schramm
Twitter:

entered into 8 challenges

contributed 0 challenges