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

The holy-grail may help - 372 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #37 / 211
  • Number of attempts: 1
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: 22
  • Position: #385 / 407
  • Number of attempts: 2
Increment, increment, increment.... - 692 entries

Vim likes macros

  • Best score: 10
  • Best player score: 13
  • Position: #379 / 410
  • Number of attempts: 2
Reformat a C golf submission - 612 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 40
  • Position: #173 / 209
  • Number of attempts: 2
Change the content of a string - 1591 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 32
  • Position: #560 / 593
  • Number of attempts: 1
Sort and add attributes - 1476 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 33
  • Position: #29 / 574
  • Number of attempts: 2
Simple text editing with Vim - 12959 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #2777 / 3731
  • Number of attempts: 2
Daniel Grippi
Twitter:

computer scientist, electro-house enthusiast, one of the diaspora boys.

entered into 7 challenges

contributed 0 challenges