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

Reorganize Pokémon - 275 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 23
  • Position: #61 / 75
  • Number of attempts: 4
Move to corresponding lines - 241 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 44
  • Position: #51 / 53
  • Number of attempts: 1
Rearrange array to one line - 600 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 26
  • Position: #115 / 143
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3647 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 36
  • Position: #695 / 784
  • Number of attempts: 2
Simple text editing with Vim - 12787 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #2835 / 3688
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 6972 entries

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

  • Best score: 28
  • Best player score: 52
  • Position: #1450 / 1703
  • Number of attempts: 1
Fabrice Tsiava
Twitter2:

entered into 6 challenges

contributed 0 challenges