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

Basic renumbering - 5683 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 26
  • Position: #1164 / 1269
  • Number of attempts: 2
Condensed Cases - 804 entries

Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.

  • Best score: 12
  • Best player score: 15
  • Position: #158 / 247
  • Number of attempts: 3
I forgot quotes - 16038 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2748 / 4192
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10688 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 15
  • Position: #3015 / 3691
  • Number of attempts: 2
Make it more readable - 2009 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 18
  • Position: #495 / 652
  • Number of attempts: 3
Reformat/Refactor a Golfer Class - 7173 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 28
  • Best player score: 49
  • Position: #1359 / 1761
  • Number of attempts: 2
Vivus Ignis
Twitter:

If it moves - automate it

entered into 6 challenges

contributed 0 challenges