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 - 5007 entries

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

  • Best score: 12
  • Best player score: 22
  • Position: #1548 / 1631
  • Number of attempts: 3
Let's play some Ivmgolf - 1126 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 7
  • Position: #32 / 447
  • Number of attempts: 4
Switch function arguments - 2152 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 11
  • Position: #32 / 667
  • Number of attempts: 7
switch variable - 5085 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #152 / 1750
  • Number of attempts: 4
Simple text editing with Vim - 13092 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2367 / 3765
  • Number of attempts: 6
Reformat/Refactor a Golfer Class - 7229 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 10
  • Best player score: 44
  • Position: #1089 / 1778
  • Number of attempts: 4

Twitter:

Machine that turn tea into code.

entered into 6 challenges

contributed 0 challenges