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

It'ss tooo coold too typpe todaay - 211 entries

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

  • Best score: 16
  • Best player score: 18
  • Position: #29 / 96
  • Number of attempts: 2
Another Mixed-Up Haiku - 236 entries

VimGolf ... a perfect evening?

  • Best score: 21
  • Best player score: 72
  • Position: #83 / 85
  • Number of attempts: 1
Reverse Simple Deletion - 825 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #94 / 451
  • Number of attempts: 3
Increment, increment, increment.... - 639 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #125 / 397
  • Number of attempts: 3
The Cake is a Lie - 1278 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #55 / 509
  • Number of attempts: 3
Make Fancy Header - 998 entries

Make the header text stand out with surrounding asterisks

  • Best score: 16
  • Best player score: 16
  • Position: #15 / 336
  • Number of attempts: 6

Contributed Challenges

Almost encrypted - 196 entries

Convert the first paragraph to be even less readable.

Letters are numbers - 149 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 - 435 entries

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

Shebangs for all - 1860 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.

Ruby 1.9 hashes - 1203 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!

James Conroy-Finn
Twitter:

Scientist, CTO, problem solver.

entered into 6 challenges

contributed 5 challenges