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

Renumbering Basic.

  • Best score: 2
  • Best player score: 14
  • Number of attempts: 9
Words in parens - 10474 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 5
V to the i - 3609 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 4
That hyphen - 1870 entries

"vim vi improved"

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

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 4
Just the middle - 8608 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Condensed Cases - 670 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: 12
  • Number of attempts: 3
I forgot quotes - 10438 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 5
Michael Aston
Twitter:

entered into 8 challenges

contributed 0 challenges