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

Config Sections - 25 entries

Section me!

  • Best score: 43
  • Best player score: 60
  • Number of attempts: 2
readability - 285 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 1
swap or reverse - 88 entries

Try to swap or reverse the line as needed.

  • Best score: 16
  • Best player score: 32
  • Number of attempts: 1
That hyphen - 2178 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
I forgot quotes - 11699 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Condensed Cases - 692 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: 2
Reformat/Refactor a Golfer Class - 5485 entries

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

  • Best score: 32
  • Best player score: 41
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 9475 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 1
increment by column in XML - 139 entries

modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string

  • Best score: 19
  • Best player score: 28
  • Number of attempts: 2
Space out the alphabet - 1363 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 3
Count both ways - 864 entries

Right AND down.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 1
Basic renumbering - 4579 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 6
-a-b-c- - 2569 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 15
  • Number of attempts: 3
Land of the Lost - 60 entries

Enter the tabs below the lyrics

  • Best score: 26
  • Best player score: 34
  • Number of attempts: 3
Neither Fizz nor Buzz - 191 entries

Not your regular increment macro! The gaps are tricky.

  • Best score: 13
  • Best player score: 20
  • Number of attempts: 3
Just the middle - 9164 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 5
Words in parens - 11002 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Shuffled numbers - 199 entries

Each number is paired with the number it should follow. That's enough information to put them in order.

  • Best score: 15
  • Best player score: 16
  • Number of attempts: 1
Grisha Pushkov
Twitter:

entered into 18 challenges

contributed 0 challenges