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

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

  • Best score: 12
  • Best player score: 14
  • Position: #943 / 1636
  • Number of attempts: 3
Exchanging Quotes - 859 entries

Sometimes you need to exchange a choice of quotes in some code.

  • Best score: 30
  • Best player score: 37
  • Position: #126 / 231
  • Number of attempts: 2
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #358 / 652
  • Number of attempts: 3
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: 9
  • Position: #268 / 671
  • Number of attempts: 1
Change the content of a string - 1705 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 27
  • Position: #477 / 627
  • Number of attempts: 1
Simple text editing with Vim - 13239 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #988 / 3802
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7343 entries

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

  • Best score: 7
  • Best player score: 42
  • Position: #985 / 1817
  • Number of attempts: 4
Tomas Frostensson
Twitter:

entered into 7 challenges

contributed 0 challenges