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

Word Blender - 148 entries

The insides of long words seem to have been run through the blender. Can you fix this famous tale, brave knight?

  • Best score: 28
  • Best player score: 40
  • Position: #30 / 57
  • Number of attempts: 2
Generate English Alphabets - 487 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Position: #37 / 206
  • Number of attempts: 5
Ruby 1.9 hashes - 1249 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!

  • Best score: 12
  • Best player score: 13
  • Position: #129 / 407
  • Number of attempts: 3
A Simple One - 1057 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Position: #111 / 667
  • Number of attempts: 1
Reverse and count - 480 entries

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

  • Best score: 18
  • Best player score: 23
  • Position: #48 / 178
  • Number of attempts: 3
Letters are numbers - 167 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?

  • Best score: 20
  • Best player score: 32
  • Position: #46 / 76
  • Number of attempts: 1
Reverse Simple Deletion - 854 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #114 / 460
  • Number of attempts: 1
Increment, increment, increment.... - 692 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #377 / 410
  • Number of attempts: 2
Dumb to smart - 100 entries

Turn dumb quote to smart vim's way.

  • Best score: 28
  • Best player score: 39
  • Position: #46 / 57
  • Number of attempts: 1
The Cake is a Lie - 1359 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #61 / 530
  • Number of attempts: 5
Almost encrypted - 204 entries

Convert the first paragraph to be even less readable.

  • Best score: 5
  • Best player score: 7
  • Position: #142 / 146
  • Number of attempts: 2
Reverse characters in a line - 776 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 14
  • Position: #97 / 267
  • Number of attempts: 5
Reconstruct the Sentence - 1575 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 19
  • Best player score: 25
  • Position: #322 / 423
  • Number of attempts: 3
Simple text editing with Vim - 12925 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 18
  • Position: #2573 / 3722
  • Number of attempts: 1
Thedward the Edward
Twitter:

programming coffee, baking, roasting books, reading cats, petting computers

entered into 14 challenges

contributed 0 challenges