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 - 1057 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 / 667
  • Number of attempts: 3
Round Round - 321 entries

Round Round

  • Best score: 19
  • Best player score: 23
  • Position: #26 / 88
  • Number of attempts: 3
82 bottles of beer on the wall - 313 entries

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

  • Best score: 106
  • Best player score: 144
  • Position: #108 / 146
  • Number of attempts: 3
Reverse Simple Deletion - 854 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #84 / 460
  • Number of attempts: 2
Increment, increment, increment.... - 692 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #119 / 410
  • Number of attempts: 1
Indentation - 550 entries

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

  • Best score: 20
  • Best player score: 35
  • Position: #148 / 180
  • Number of attempts: 1
The Cake is a Lie - 1361 entries

Correct the capitalization of each word

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

Remove all the accent from extremely accented statements.

  • Best score: 37
  • Best player score: 82
  • Position: #47 / 52
  • Number of attempts: 1
Make Fancy Header - 1063 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 16
  • Position: #16 / 346
  • Number of attempts: 5
Change the content of a string - 1593 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #534 / 594
  • Number of attempts: 1
Braces or Brackets? - 1054 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: #196 / 324
  • Number of attempts: 2
Simple text editing with Vim - 12989 entries

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

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

I am Amir!

entered into 12 challenges

contributed 0 challenges