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

Simple, Practical, and Common - 33396 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 25
  • Position: #3234 / 7367
  • Number of attempts: 14
One number per line - 18627 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Position: #2892 / 3843
  • Number of attempts: 4
From argument to object - 1474 entries

This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?

  • Best score: 17
  • Best player score: 22
  • Position: #382 / 450
  • Number of attempts: 1
Simple addition - 310 entries

The right side of the equation is already there. We just need the left one now.

  • Best score: 12
  • Best player score: 16
  • Position: #110 / 117
  • Number of attempts: 2
I forgot quotes - 15931 entries

Oops.

  • Best score: 10
  • Best player score: 14
  • Position: #1702 / 4161
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10628 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1168 / 3667
  • Number of attempts: 3
Remove semicolons after expressions - 632 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 6
  • Position: #93 / 259
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 6593 entries

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

  • Best score: 32
  • Best player score: 58
  • Position: #1478 / 1621
  • Number of attempts: 3
Benjamin Unger
Twitter:

anesthesiologist, programmer (Ruby on Rails). Co-op board member. Returned PCV Honduras '96-'98. Cincinnati native.

entered into 8 challenges

contributed 0 challenges