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

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 36
  • Position: #361 / 619
  • Number of attempts: 3
Inverting Lines - 1952 entries

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

  • Best score: 10
  • Best player score: 23
  • Position: #499 / 522
  • Number of attempts: 1
Modernise code - 1434 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 70
  • Position: #310 / 331
  • Number of attempts: 1
swap number pairs - 2169 entries

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

  • Best score: 16
  • Best player score: 51
  • Position: #362 / 393
  • 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 - 339 entries

Turn the x to a +

  • Best score: 19
  • Best player score: 31
  • Position: #83 / 84
  • Number of attempts: 1
Rural Post - 4579 entries

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

  • Best score: 9
  • Best player score: 60
  • Position: #1090 / 1117
  • Number of attempts: 1
Python Hello World! Reformatting - 1011 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: #327 / 387
  • Number of attempts: 2
A Simple One - 1070 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: #609 / 673
  • Number of attempts: 4
aravindthangavel
Twitter:

entered into 9 challenges

contributed 0 challenges