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

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

  • Best score: 12
  • Best player score: 18
  • Position: #1255 / 1507
  • Number of attempts: 2
Just the middle - 11078 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #25 / 4089
  • Number of attempts: 5
Basic renumbering - 5393 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 23
  • Position: #942 / 1218
  • Number of attempts: 2
Refactoring useless Method away - 89 entries

Real-life challenge, convert a bunch of ifs to a switch statement

  • Best score: 47
  • Best player score: 47
  • Position: #3 / 31
  • Number of attempts: 3
I forgot quotes - 15639 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #41 / 4095
  • Number of attempts: 9
Change name of a variable - 154 entries

Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.

  • Best score: 9
  • Best player score: 9
  • Position: #58 / 122
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10509 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #555 / 3627
  • Number of attempts: 3
Kentaro Wakayama
Twitter:

JavaScript Developer at @Brandwatch

entered into 7 challenges

contributed 0 challenges