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! - 2660 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 36
  • Position: #360 / 617
  • Number of attempts: 3
Inverting Lines - 1946 entries

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

  • Best score: 10
  • Best player score: 23
  • Position: #498 / 520
  • Number of attempts: 1
Modernise code - 1429 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 70
  • Position: #309 / 329
  • Number of attempts: 1
swap number pairs - 2162 entries

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

  • Best score: 16
  • Best player score: 51
  • Position: #361 / 391
  • Number of attempts: 2
Python: Def to Lambda - 474 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 22
  • Position: #120 / 158
  • Number of attempts: 1
Turn the x - 328 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 31
  • Position: #81 / 82
  • Number of attempts: 1
Rural Post - 4572 entries

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

  • Best score: 9
  • Best player score: 60
  • Position: #1089 / 1116
  • Number of attempts: 1
Python Hello World! Reformatting - 1007 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: #324 / 384
  • Number of attempts: 2
A Simple One - 1067 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: #607 / 671
  • Number of attempts: 4
aravindthangavel
Twitter:

entered into 9 challenges

contributed 0 challenges