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

Ruby 1.9 hashes - 1244 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 16
  • Position: #288 / 406
  • Number of attempts: 5
A Simple One - 1051 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: 9
  • Position: #90 / 665
  • Number of attempts: 1
Reverse Simple Deletion - 850 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #65 / 459
  • Number of attempts: 2
Increment, increment, increment.... - 689 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #132 / 409
  • Number of attempts: 1
Indentation - 544 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 20
  • Best player score: 27
  • Position: #76 / 179
  • Number of attempts: 9
The Cake is a Lie - 1349 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 12
  • Position: #475 / 528
  • Number of attempts: 3
Make Fancy Header - 1052 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 18
  • Position: #219 / 344
  • Number of attempts: 8
Reformat a C golf submission - 604 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 34
  • Position: #129 / 208
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7023 entries

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

  • Best score: 28
  • Best player score: 39
  • Position: #676 / 1720
  • Number of attempts: 8
藤田祥 / Sho Fujita
Twitter:

無線ネットワークを利用した監視・制御を研究しています。

entered into 9 challenges

contributed 0 challenges