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

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

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 4
Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 6
Count both ways - 915 entries

Right AND down.

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 4
Just the middle - 10337 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 2
Gray area - 664 entries

It's a golf metaphor or something.

  • Best score: 11
  • Best player score: 17
  • Number of attempts: 1
I forgot quotes - 14294 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
-a-b-c- - 2863 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10083 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Andrew
Twitter:

entered into 8 challenges

contributed 0 challenges