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 - 1096 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 / 683
  • Number of attempts: 3
Round Round - 328 entries

Round Round

  • Best score: 19
  • Best player score: 23
  • Position: #27 / 89
  • Number of attempts: 3
82 bottles of beer on the wall - 330 entries

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

  • Best score: 106
  • Best player score: 144
  • Position: #110 / 150
  • Number of attempts: 3
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #88 / 467
  • Number of attempts: 2
Increment, increment, increment.... - 712 entries

Vim likes macros

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

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

  • Best score: 20
  • Best player score: 35
  • Position: #151 / 183
  • Number of attempts: 1
The Cake is a Lie - 1422 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #34 / 546
  • Number of attempts: 3
Remove Accent off the Letter - 158 entries

Remove all the accent from extremely accented statements.

  • Best score: 37
  • Best player score: 82
  • Position: #49 / 54
  • Number of attempts: 1
Make Fancy Header - 1111 entries

Make the header text stand out with surrounding asterisks

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

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Position: #591 / 659
  • Number of attempts: 1
Braces or Brackets? - 1219 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: #217 / 367
  • Number of attempts: 2
Simple text editing with Vim - 13682 entries

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

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

I am Amir!

entered into 12 challenges

contributed 0 challenges