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

Search and Replace 0 - 4580 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #62 / 1516
  • Number of attempts: 6
A Simple One - 876 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 10
  • Position: #521 / 585
  • Number of attempts: 2
Table Reshuffle - 326 entries

Fix the column order in this table... also append the new 'username' column.

  • Best score: 22
  • Best player score: 53
  • Position: #115 / 121
  • Number of attempts: 2
The Cake is a Lie - 1170 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 13
  • Position: #446 / 478
  • Number of attempts: 1
Context Insensitive completion 1 - 405 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 18
  • Position: #36 / 212
  • Number of attempts: 1
Reverse characters in a line - 615 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 15
  • Position: #97 / 226
  • Number of attempts: 4
PEP8 Python Wrapping Comments and Code - 160 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: 23
  • Best player score: 30
  • Position: #35 / 59
  • Number of attempts: 3
Braces or Brackets? - 645 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 43
  • Position: #95 / 240
  • Number of attempts: 1
Simple text editing with Vim - 11391 entries

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

  • Best score: 13
  • Best player score: 21
  • Position: #2589 / 3347
  • Number of attempts: 2
David Lam
Twitter:

entered into 9 challenges

contributed 0 challenges