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

Inner hyphens - 114 entries

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

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Fun With The Diagonal - 89 entries

change the lowercase characters on the main diagonal to uppercase

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 1
ASCII Art - 77 entries

how good are you with simple regex?

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 3
One number per line - 16280 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 17
  • Number of attempts: 4
Words in parens - 11996 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 3
Vice versa - 6859 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 5
From A to B - 524 entries

Mirror and change this text block

  • Best score: 16
  • Best player score: 17
  • Number of attempts: 3
Align commas - 929 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
  • Number of attempts: 2
Convert pasted text into Markdown - 17 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
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10083 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 5
Free hyphen! - 126 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
  • Number of attempts: 1
underscore_to_camelCase - 141 entries

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

  • Best score: 14
  • Best player score: 15
  • Number of attempts: 5
Scrambled numbers - 753 entries

Four is NOT 1. One is 1.

  • Best score: 18
  • Best player score: 20
  • Number of attempts: 5
Mirrored text - 153 entries

backward and forward, and long enough to be challenging

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 3
Philiphone
Twitter:

entered into 14 challenges

contributed 0 challenges