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

A HAPPY NEW YEAR 2014 ! - 10713 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Position: #1755 / 3700
  • Number of attempts: 2
Words in parens - 12992 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1334 / 3977
  • Number of attempts: 4
Create an alphabet diamond - 105 entries

Here's a brain teaser to keep things interesting...

  • Best score: 37
  • Best player score: 121
  • Position: #30 / 32
  • Number of attempts: 1
Vertical Limit - 2596 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 34
  • Position: #712 / 767
  • Number of attempts: 3
Switch function arguments - 2182 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 16
  • Position: #600 / 674
  • Number of attempts: 1
Alphabetize the directory - 298 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 31
  • Position: #19 / 101
  • Number of attempts: 4
Sort entries based on date - 405 entries

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

  • Best score: 11
  • Best player score: 13
  • Position: #70 / 118
  • Number of attempts: 2
Reverse Simple Deletion - 862 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #241 / 463
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3879 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 24
  • Position: #389 / 830
  • Number of attempts: 5
Simple text editing with Vim - 13274 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1014 / 3811
  • Number of attempts: 4
Reformat/Refactor a Golfer Class - 7415 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 7
  • Best player score: 41
  • Position: #906 / 1825
  • Number of attempts: 2
Jason Bruce
Twitter:

Husband, Father, Maker, Engineer, Programmer

entered into 11 challenges

contributed 0 challenges