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

quotes inside quotes - 2996 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 3
  • Best player score: 17
  • Position: #666 / 1037
  • Number of attempts: 2
Circle of Fifths with Sharps - 71 entries

Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.

  • Best score: 24
  • Best player score: 27
  • Position: #15 / 31
  • Number of attempts: 2
A simple change - 377 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 12
  • Position: #6 / 168
  • Number of attempts: 4
The name of the game - 597 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #124 / 328
  • Number of attempts: 1
Let's play some Ivmgolf - 979 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #181 / 407
  • Number of attempts: 1
you're stuck on jQuery < 1.7 - 325 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 26
  • Position: #24 / 104
  • Number of attempts: 6
Make it more readable - 1852 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #237 / 611
  • Number of attempts: 2
Reformat some Python - 545 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 52
  • Position: #171 / 216
  • Number of attempts: 2
Simple text editing with Vim - 11354 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #928 / 3335
  • Number of attempts: 1
marmelad
Twitter:

entered into 9 challenges

contributed 0 challenges