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

Oops.

  • Best score: 10
  • Best player score: 17
  • Position: #2886 / 4210
  • Number of attempts: 1
Numbering a List - 1941 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 25
  • Position: #494 / 657
  • Number of attempts: 2
Assignment Alignment - 897 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 30
  • Position: #160 / 223
  • Number of attempts: 3
Increment, increment, increment.... - 703 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #201 / 414
  • Number of attempts: 2
The Cake is a Lie - 1389 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #422 / 538
  • Number of attempts: 2
Braces or Brackets? - 1143 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: #209 / 350
  • Number of attempts: 2
Simple text editing with Vim - 13432 entries

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

  • Best score: 13
  • Best player score: 24
  • Position: #3186 / 3851
  • Number of attempts: 2
Reformat/Refactor a Golfer Class - 7533 entries

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

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

Software Engineer @ PagerDuty

entered into 8 challenges

contributed 0 challenges