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

SFD-ROC: vimvimvim - 1508 entries

Oh no, this line is longer than 80 chars... put each 'vim' on a new line.

  • Best score: 8
  • Best player score: 14
  • Position: #302 / 424
  • Number of attempts: 1
Let's play some Ivmgolf - 1004 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 12
  • Position: #357 / 417
  • Number of attempts: 1
Enharmonic Equivalents - 54 entries

Transform # and b to digraphs

  • Best score: 18
  • Best player score: 23
  • Position: #31 / 33
  • Number of attempts: 2
Switch function arguments - 1982 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 15
  • Position: #492 / 627
  • Number of attempts: 2
Remove semicolons after expressions - 541 entries

A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.

  • Best score: 6
  • Best player score: 11
  • Position: #227 / 235
  • Number of attempts: 1
Line Zipper - 443 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Position: #137 / 206
  • Number of attempts: 1
remove dupes from array - 1290 entries

given a random string that contains a ruby-esque array, make sure that there are no duplicate elements

  • Best score: 17
  • Best player score: 27
  • Position: #253 / 325
  • Number of attempts: 1
PHP Array Syntax -> MailChimp Merge Syntax - 482 entries

I recently needed to send an e-mail to our marketing department listing allowed merge tags for our MailChimp campaigns. The allowed merge tags were determined from a PHP array in one of our PHP classes. I transformed the PHP class to MailChimp's syntax and sent the e-mail. It was, however, a long, laborious process. I'm still fairly new to Vim and would love to see how an expert Vim user would tackle one of my own, real-world problems. Thanks and have fun!

  • Best score: 23
  • Best player score: 44
  • Position: #111 / 143
  • Number of attempts: 2
Sort entries based on date - 339 entries

Sort some entries in a Ledger-file based on date.

  • Best score: 11
  • Best player score: 11
  • Position: #4 / 110
  • Number of attempts: 2
Numbering a List - 1828 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 24
  • Position: #451 / 625
  • Number of attempts: 2
Sorting paragraphs - 493 entries

Order the paragraphs correctly, per prefixed index

  • Best score: 18
  • Best player score: 44
  • Position: #128 / 151
  • Number of attempts: 1
Simple text editing with Vim - 11619 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #1984 / 3408
  • Number of attempts: 1
Raphaƫl De Giusti
Twitter:

I'm a developer, I enjoy learning stuff. I like OO programming, Java, Python, Vim and the devops wave. I'm open-minded and working on the @comodit project !

entered into 12 challenges

contributed 0 challenges