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

switch variable - 5079 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1286 / 1749
  • Number of attempts: 3
Change the content of a string - 1596 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #96 / 595
  • Number of attempts: 3
Reconstruct the Sentence - 1589 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 27
  • Position: #377 / 425
  • Number of attempts: 1
Simple text editing with Vim - 13012 entries

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

  • Best score: 13
  • Best player score: 13
  • Position: #124 / 3743
  • Number of attempts: 7
Reformat/Refactor a Golfer Class - 7172 entries

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

  • Best score: 28
  • Best player score: 34
  • Position: #295 / 1760
  • Number of attempts: 14
Jonas Engman
Twitter:

entered into 5 challenges

contributed 0 challenges