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

Make Fancy Header - 929 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Number of attempts: 6
The Cake is a Lie - 1168 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 3
Reverse Simple Deletion - 736 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 3
Another Mixed-Up Haiku - 206 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 72
  • Number of attempts: 1
Increment, increment, increment.... - 525 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 3
It'ss tooo coold too typpe todaay - 199 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 18
  • Number of attempts: 2

Contributed Challenges

Almost encrypted - 176 entries

Convert the first paragraph to be even less readable.

Letters are numbers - 127 entries

Letters and numbers are interchangeable. A lot of programming languages give you simple ways to convert individual letters to hex, binary and decimal but does Vim?

Reverse and count - 384 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

Ruby 1.9 hashes - 1113 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

Shebangs for all - 1690 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

James Conroy-Finn

Scientist, CTO, problem solver.

entered into 6 challenges

contributed 5 challenges