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 - 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: #40 / 665
  • 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 - 850 entries

You did the simple deletion, now reverse it.

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

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #118 / 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: 35
  • Position: #147 / 179
  • Number of attempts: 1
The Cake is a Lie - 1349 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #33 / 528
  • 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 - 1052 entries

Make the header text stand out with surrounding asterisks

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

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #533 / 592
  • Number of attempts: 1
Braces or Brackets? - 1033 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: #194 / 320
  • Number of attempts: 2
Simple text editing with Vim - 12856 entries

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

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

I am Amir!

entered into 12 challenges

contributed 0 challenges