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

Swap values inside brackets - 2496 entries

Easy challenge.

  • Best score: 14
  • Best player score: 36
  • Position: #557 / 579
  • Number of attempts: 1
I forgot quotes - 15989 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1776 / 4181
  • Number of attempts: 2
-a-b-c- - 3213 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #847 / 1137
  • Number of attempts: 1
quotes inside quotes - 3159 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: #913 / 1078
  • Number of attempts: 1
Array Transposition - 201 entries

Transpose four arrays into two.

  • Best score: 27
  • Best player score: 53
  • Position: #44 / 56
  • Number of attempts: 1
Praful
Twitter:

I am not the person you're looking for.

entered into 5 challenges

contributed 0 challenges