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

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

  • Best score: 7
  • Best player score: 12
  • Position: #171 / 1680
  • Number of attempts: 4
switch variable - 5136 entries

how fast can you switch two variable ?

  • Best score: 9
  • Best player score: 13
  • Position: #1085 / 1767
  • Number of attempts: 4
remove dupes from array - 1379 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 29
  • Position: #302 / 342
  • Number of attempts: 2
The Cake is a Lie - 1422 entries

Correct the capitalization of each word

  • Best score: 8
  • Best player score: 9
  • Position: #129 / 546
  • Number of attempts: 5
Get rid of html tags - 466 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 12
  • Best player score: 17
  • Position: #85 / 263
  • Number of attempts: 1
Sort and add attributes - 1605 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #118 / 622
  • Number of attempts: 3
Whitespace, empty lines and tabs - 4083 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 7
  • Best player score: 22
  • Position: #333 / 872
  • Number of attempts: 5
robin hafen
Twitter:

MSc Bioinformatics ETH

entered into 7 challenges

contributed 0 challenges