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

Search and Replace 0 - 4583 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 16
  • Position: #1063 / 1518
  • Number of attempts: 1
Python Hello World! Reformatting - 881 entries

A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.

  • Best score: 39
  • Best player score: 45
  • Position: #251 / 340
  • Number of attempts: 2
Sort the cardinal numbers - 256 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 14
  • Position: #83 / 134
  • Number of attempts: 1
Line Zipper - 413 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Position: #126 / 199
  • Number of attempts: 2
Alphabetize the directory - 261 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 37
  • Position: #53 / 95
  • Number of attempts: 1
Case preserving word replacement - 413 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 23
  • Position: #124 / 169
  • Number of attempts: 1
The holy-grail may help - 304 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #98 / 190
  • Number of attempts: 1
A Simple One - 880 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: #225 / 589
  • Number of attempts: 1
Another Mixed-Up Haiku - 206 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 28
  • Position: #58 / 77
  • Number of attempts: 2
Turn this csv list into queries - 190 entries

Transform each line of this csv file into a MySQL-ready INSERT query.

  • Best score: 98
  • Best player score: 123
  • Position: #46 / 90
  • Number of attempts: 1
The Cake is a Lie - 1178 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 10
  • Position: #304 / 481
  • Number of attempts: 2
Reverse characters in a line - 618 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 13
  • Position: #26 / 228
  • Number of attempts: 1
PEP8 Python Wrapping Comments and Code - 160 entries

According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max

  • Best score: 23
  • Best player score: 26
  • Position: #21 / 59
  • Number of attempts: 4
Simple text editing with Vim - 11431 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #814 / 3357
  • Number of attempts: 5
Dario Cazzaro
Twitter:

entered into 14 challenges

contributed 0 challenges