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

Refactoring useless Method away - 74 entries

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

  • Best score: 47
  • Best player score: 47
  • Number of attempts: 3
Basic renumbering - 4195 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 23
  • Number of attempts: 2
Search and Replace 0 - 3875 entries

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

  • Best score: 12
  • Best player score: 18
  • Number of attempts: 2
Just the middle - 8583 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 9166 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 3
Change name of a variable - 143 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
  • Number of attempts: 2
I forgot quotes - 10391 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 9
Kentaro Wakayama
Twitter:

JavaScript Developer at @Brandwatch

entered into 7 challenges

contributed 0 challenges