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

Align commas - 1134 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 19
  • Position: #194 / 250
  • Number of attempts: 3
Manual SQL - 179 entries

Change select and insert queries to simulate inserting a new record.

  • Best score: 48
  • Best player score: 79
  • Position: #44 / 53
  • Number of attempts: 1
Transposition - 126 entries

Transpose the original lines in separate columns, one for each line.

  • Best score: 31
  • Best player score: 40
  • Position: #19 / 34
  • Number of attempts: 2
A simple change - 484 entries

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

  • Best score: 12
  • Best player score: 34
  • Position: #193 / 199
  • 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: 30
  • Position: #43 / 62
  • Number of attempts: 4
PEP8 Python Wrapping Comments and Code - 241 entries

According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max

  • Best score: 21
  • Best player score: 37
  • Position: #60 / 74
  • Number of attempts: 2
Get rid of html tags - 463 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 29
  • Position: #251 / 261
  • Number of attempts: 1
Sort and add attributes - 1591 entries

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

  • Best score: 33
  • Best player score: 33
  • Position: #140 / 615
  • Number of attempts: 3
Whitespace, empty lines and tabs - 4044 entries

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

  • Best score: 16
  • Best player score: 19
  • Position: #232 / 862
  • Number of attempts: 17
Flodder-challenge - 1500 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 41
  • Position: #281 / 378
  • Number of attempts: 3
Simple text editing with Vim - 13626 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1086 / 3902
  • Number of attempts: 8
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 38
  • Position: #655 / 1889
  • Number of attempts: 5
Sebastian Heil
Twitter:

Instructor for efficiency

entered into 12 challenges

contributed 0 challenges