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 - 33613 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: 31
  • Position: #5398 / 7417
  • Number of attempts: 2
Just the middle - 11448 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2046 / 4196
  • Number of attempts: 6
underscore_to_camelCase - 173 entries

Pointy haired boss decided we need to switch to camelCase. Let's get this over with.

  • Best score: 14
  • Best player score: 15
  • Position: #41 / 82
  • Number of attempts: 1
Vice versa - 7903 entries

Little role switching.

  • Best score: 12
  • Best player score: 15
  • Position: #1007 / 2125
  • Number of attempts: 3
comments galore - 1045 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #12 / 424
  • Number of attempts: 6
Replace and keep the case - 437 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 31
  • Position: #83 / 118
  • Number of attempts: 7
Words in parens - 12930 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2281 / 3962
  • Number of attempts: 2

Contributed Challenges

Convert pasted text into Markdown - 32 entries

I often need to copy/paste text into Markdown files. The challenge here is to wrap the lines in a way that prefers breaks after periods, commas, or other logical demarcations. There should be no spaces at the beginning of a line.

lorentrogers
Twitter:

User Experience Designer at @EMCcorp, lead dev at @BodegaMag. Married to @exrpan.

entered into 7 challenges

contributed 1 challenges