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

Remember FizzBuzz? - 547 entries

Output FizzBuzz to 100. Start with nothing.

  • Best score: 39
  • Best player score: 59
  • Number of attempts: 6
Simple text editing with Vim - 10896 entries

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

  • Best score: 13
  • Best player score: 18
  • Number of attempts: 1
Ruby 1.9 hashes - 1100 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: 17
  • Number of attempts: 2
Get rid of html tags - 315 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 15
  • Best player score: 24
  • Number of attempts: 1
Generate Fibonacci Numbers - 209 entries

Use your super vim powers to generate Fibonacci Numbers.

  • Best score: 19
  • Best player score: 24
  • Number of attempts: 2
Compile C - 279 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 27
  • Number of attempts: 2
Reverse characters in a line - 601 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: 22
  • Number of attempts: 1
Search and Replace 0 - 4388 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 19
  • Number of attempts: 2
Change the content of a string - 1260 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 30
  • Number of attempts: 1
Reformat a C golf submission - 481 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: 23
  • Best player score: 32
  • Number of attempts: 1
Reformat some Python - 514 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 43
  • Number of attempts: 4
pcapriotti
Twitter:

entered into 11 challenges

contributed 0 challenges