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

Python Hello World! Reformatting - 906 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: 41
  • Position: #52 / 352
  • Number of attempts: 8
Split the words - 353 entries

Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.

  • Best score: 18
  • Best player score: 36
  • Position: #46 / 106
  • Number of attempts: 4
A simple change - 401 entries

Just change the numbers in the most efficient way ...

  • Best score: 12
  • Best player score: 14
  • Position: #89 / 177
  • Number of attempts: 2
Vertical Limit - 2369 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Position: #132 / 717
  • Number of attempts: 8
switch variable - 4937 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #210 / 1707
  • Number of attempts: 7
Case preserving word replacement - 436 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: 20
  • Position: #72 / 175
  • Number of attempts: 4
Numbering a List - 1831 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 18
  • Position: #113 / 626
  • Number of attempts: 14
A Simple One - 934 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: #352 / 617
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1094 / 3418
  • Number of attempts: 4
sockdude1
Twitter:

entered into 9 challenges

contributed 0 challenges