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

Oops.

  • Best score: 10
  • Best player score: 17
  • Number of attempts: 1
Numbering a List - 1768 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Number of attempts: 2
Assignment Alignment - 722 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 30
  • Number of attempts: 3
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Number of attempts: 2
Increment, increment, increment.... - 530 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 2
Braces or Brackets? - 644 entries

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

  • Best score: 34
  • Best player score: 48
  • Number of attempts: 2
Simple text editing with Vim - 11237 entries

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

  • Best score: 13
  • Best player score: 24
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 5752 entries

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

  • Best score: 32
  • Best player score: 36
  • Number of attempts: 7
Derrick Camerino
Twitter:

Software Engineer @ PagerDuty

entered into 8 challenges

contributed 0 challenges