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

Extract argument from function - 2379 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 25
  • Position: #751 / 760
  • Number of attempts: 1
Search and Replace 0 - 5045 entries

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

  • Best score: 12
  • Best player score: 19
  • Position: #1454 / 1644
  • Number of attempts: 1
Just the middle - 11555 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 12
  • Position: #4025 / 4234
  • Number of attempts: 2
I forgot quotes - 16127 entries

Oops.

  • Best score: 10
  • Best player score: 20
  • Position: #3609 / 4208
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10721 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #2016 / 3704
  • Number of attempts: 2
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 18
  • Position: #2875 / 3979
  • Number of attempts: 2
Simple text editing with Vim - 13427 entries

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

  • Best score: 13
  • Best player score: 26
  • Position: #3321 / 3849
  • Number of attempts: 2
Rijnard van Tonder
Twitter:

Working to make code malleable. CS PhD @CarnegieMellon. Wrote https://t.co/sM0eNOoJDs. Building developer tools @sourcegraph.

entered into 7 challenges

contributed 0 challenges