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 - 5132 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 14
  • Position: #1286 / 1766
  • Number of attempts: 1
HTML to Haml - 906 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 27
  • Position: #36 / 208
  • Number of attempts: 9
Java Array2List - 239 entries

Convert an java array initializer into a list.

  • Best score: 67
  • Best player score: 137
  • Position: #79 / 88
  • Number of attempts: 2
Letters are numbers - 179 entries

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

  • Best score: 20
  • Best player score: 32
  • Position: #49 / 78
  • Number of attempts: 2
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #104 / 467
  • Number of attempts: 1
Sort and add attributes - 1604 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #28 / 621
  • Number of attempts: 3
Reconstruct the Sentence - 1761 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: 20
  • Position: #24 / 460
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7736 entries

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

  • Best score: 7
  • Best player score: 40
  • Position: #844 / 1900
  • Number of attempts: 4
Fitz
Twitter:

entered into 8 challenges

contributed 0 challenges