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

One number per line - 18367 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Position: #1023 / 3786
  • Number of attempts: 4
underscore_to_camelCase - 147 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 / 74
  • Number of attempts: 5
Fun With The Diagonal - 96 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Position: #34 / 73
  • Number of attempts: 1
Vice versa - 7508 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #169 / 2038
  • Number of attempts: 5
Free hyphen! - 144 entries

Just like "Inner hyphens", but I'm giving you a free hyphen to play with. Will your solution be any different?

  • Best score: 9
  • Best player score: 11
  • Position: #55 / 79
  • Number of attempts: 1
Convert pasted text into Markdown - 21 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.

  • Best score: 47
  • Best player score: 87
  • Position: #7 / 12
  • Number of attempts: 1
Mirrored text - 162 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 14
  • Position: #8 / 69
  • Number of attempts: 3
Inner hyphens - 121 entries

Yet another hyphen challenge. Adding 5 hyphens to a file shouldn't be too hard.

  • Best score: 11
  • Best player score: 12
  • Position: #42 / 75
  • Number of attempts: 2
Scrambled numbers - 772 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 20
  • Position: #51 / 179
  • Number of attempts: 5
Align commas - 1025 entries

There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.

  • Best score: 11
  • Best player score: 17
  • Position: #148 / 234
  • Number of attempts: 2
ASCII Art - 80 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 10
  • Position: #16 / 50
  • Number of attempts: 3
From A to B - 552 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Position: #62 / 152
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10531 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #192 / 3636
  • Number of attempts: 5
Words in parens - 12721 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1300 / 3914
  • Number of attempts: 3
Philiphone
Twitter:

entered into 14 challenges

contributed 0 challenges