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

A Simple One - 870 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: #40 / 581
  • Number of attempts: 3
Round Round - 242 entries

Round Round

  • Best score: 19
  • Best player score: 23
  • Position: #21 / 80
  • Number of attempts: 3
82 bottles of beer on the wall - 280 entries

Take them down. (sorry, only 82 bottles because the problem size is limited!)

  • Best score: 107
  • Best player score: 144
  • Position: #98 / 131
  • Number of attempts: 3
Reverse Simple Deletion - 739 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #71 / 418
  • Number of attempts: 2
Increment, increment, increment.... - 531 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #77 / 357
  • Number of attempts: 1
Indentation - 420 entries

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

  • Best score: 21
  • Best player score: 35
  • Position: #126 / 149
  • Number of attempts: 1
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #33 / 477
  • Number of attempts: 3
Remove Accent off the Letter - 100 entries

Remove all the accent from extremely accented statements.

  • Best score: 37
  • Best player score: 82
  • Position: #41 / 46
  • Number of attempts: 1
Make Fancy Header - 929 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Position: #14 / 313
  • Number of attempts: 5
Change the content of a string - 1282 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #448 / 495
  • Number of attempts: 1
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: 48
  • Position: #146 / 240
  • Number of attempts: 2
Simple text editing with Vim - 11365 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #688 / 3337
  • Number of attempts: 2
Amir Hedayaty
Twitter:

I am Amir!

entered into 12 challenges

contributed 0 challenges