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

I forgot quotes - 16093 entries

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2878 / 4202
  • Number of attempts: 1
Numbering a List - 1940 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #493 / 656
  • Number of attempts: 2
Assignment Alignment - 885 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 30
  • Position: #158 / 221
  • Number of attempts: 3
Increment, increment, increment.... - 701 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #200 / 413
  • Number of attempts: 2
The Cake is a Lie - 1386 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #421 / 537
  • Number of attempts: 2
Braces or Brackets? - 1109 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 48
  • Position: #202 / 341
  • Number of attempts: 2
Simple text editing with Vim - 13274 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 24
  • Position: #3157 / 3811
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7415 entries

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

  • Best score: 7
  • Best player score: 36
  • Position: #429 / 1825
  • Number of attempts: 7
Derrick Camerino
Twitter:

Software Engineer @ PagerDuty

entered into 8 challenges

contributed 0 challenges