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 - 3015 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: 14
  • Best player score: 17
  • Position: #669 / 1040
  • Number of attempts: 2
Circle of Fifths with Sharps - 82 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: #17 / 33
  • Number of attempts: 2
A simple change - 381 entries

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

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

End up with the name of the game.

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

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 9
  • Position: #181 / 410
  • Number of attempts: 1
you're stuck on jQuery < 1.7 - 326 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 / 105
  • Number of attempts: 6
Make it more readable - 1867 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 15
  • Position: #241 / 615
  • Number of attempts: 2
Reformat some Python - 552 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 52
  • Position: #173 / 219
  • Number of attempts: 2
Simple text editing with Vim - 11495 entries

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

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

entered into 9 challenges

contributed 0 challenges