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

Copy three lines - 2849 entries

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

  • Best score: 13
  • Best player score: 36
  • Position: #613 / 636
  • Number of attempts: 3
Reformat a C golf submission - 559 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 23
  • Position: #7 / 200
  • Number of attempts: 4
Reverse characters in a line - 711 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 36
  • Position: #246 / 250
  • Number of attempts: 2
Change the content of a string - 1489 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 33
  • Position: #533 / 560
  • Number of attempts: 2
Simple text editing with Vim - 12290 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #657 / 3581
  • Number of attempts: 5
Карл
Twitter:

entered into 5 challenges

contributed 0 challenges