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

Fix the shell script! - 987 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 36
  • Position: #142 / 253
  • Number of attempts: 3
Inverting Lines - 1296 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 23
  • Position: #349 / 363
  • Number of attempts: 1
Modernise code - 827 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 70
  • Position: #179 / 191
  • Number of attempts: 1
swap number pairs - 1475 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 51
  • Position: #259 / 285
  • Number of attempts: 2
Python: Def to Lambda - 372 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 22
  • Position: #99 / 124
  • Number of attempts: 1
Turn the x - 253 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 31
  • Position: #65 / 66
  • Number of attempts: 1
Rural Post - 4105 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 60
  • Position: #989 / 1015
  • Number of attempts: 1
Python Hello World! Reformatting - 897 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: 47
  • Position: #300 / 350
  • Number of attempts: 2
A Simple One - 924 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: 10
  • Position: #554 / 612
  • Number of attempts: 4
aravindthangavel
Twitter:

entered into 9 challenges

contributed 0 challenges