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

NATO phonetic alphabet - 554 entries

Transform the series of words into a list.

  • Best score: 19
  • Best player score: 30
  • Position: #188 / 201
  • Number of attempts: 3
Add links to an existing HTML table - 112 entries

Add these links at that top to the respective table cell. First link, first cell, etc.

  • Best score: 42
  • Best player score: 84
  • Position: #30 / 32
  • Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 464 entries

Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."

  • Best score: 8
  • Best player score: 10
  • Position: #45 / 201
  • Number of attempts: 3
The name of the game - 704 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #59 / 372
  • Number of attempts: 3
SFD-ROC: vimvimvim - 1643 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 10
  • Position: #266 / 458
  • Number of attempts: 6
SFD-ROC: Pipe Dreams - 139 entries

Move the pipes so they match the output.

  • Best score: 12
  • Best player score: 20
  • Position: #45 / 50
  • Number of attempts: 2
Stairs Indenting - 503 entries

Indent each line with <line number> whitespaces.

  • Best score: 12
  • Best player score: 19
  • Position: #175 / 203
  • Number of attempts: 2
Convert pandoc unordered list to a numbered list - 215 entries

I know it's possible to use #. in pandoc to auto-generate numbered lists, but then it's not easy to tell how many items there are when reading it in Markdown. How fast can you make the switch?

  • Best score: 20
  • Best player score: 32
  • Position: #46 / 62
  • Number of attempts: 2
you're stuck on jQuery < 1.7 - 401 entries

replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`

  • Best score: 25
  • Best player score: 47
  • Position: #110 / 116
  • Number of attempts: 4
Vertical Limit - 2641 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 24
  • Position: #281 / 780
  • Number of attempts: 3
Switch function arguments - 2237 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Position: #44 / 687
  • Number of attempts: 5
Append semicolon after expressions - 1088 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 13
  • Position: #306 / 427
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 7722 entries

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

  • Best score: 7
  • Best player score: 46
  • Position: #1282 / 1896
  • Number of attempts: 2
makala noble
Twitter:

CS student, reader, singer

entered into 13 challenges

contributed 0 challenges