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

fib.c cleanup - 71 entries

cleanup the file

  • Best score: 15
  • Best player score: 16
  • Position: #9 / 56
  • Number of attempts: 2
abcd > a b c d - 298 entries

transform the single spaces into 4 spaces repeat for each line

  • Best score: 15
  • Best player score: 17
  • Position: #214 / 227
  • Number of attempts: 1
A simple change - 474 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 17
  • Position: #167 / 195
  • Number of attempts: 1
Add links to an existing HTML table - 97 entries

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

  • Best score: 42
  • Best player score: 56
  • Position: #19 / 31
  • Number of attempts: 2
lamb had a little Mary - 637 entries

"Mary" and "lamb" are swapped. Unswap them. Fast as you can.

  • Best score: 16
  • Best player score: 38
  • Position: #110 / 174
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3795 entries

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

  • Best score: 16
  • Best player score: 29
  • Position: #519 / 816
  • Number of attempts: 4
Simple text editing with Vim - 13123 entries

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

  • Best score: 13
  • Best player score: 15
  • Position: #2073 / 3774
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7251 entries

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

  • Best score: 10
  • Best player score: 41
  • Position: #898 / 1789
  • Number of attempts: 1
Arun
Twitter:

entered into 8 challenges

contributed 0 challenges