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

Simple, Practical, and Common - 32879 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #25 / 7266
  • Number of attempts: 5
Swap values - 4420 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 14
  • Position: #629 / 1238
  • Number of attempts: 2
Basic renumbering - 5422 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #21 / 1225
  • Number of attempts: 1
Words in parens - 12721 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2222 / 3914
  • Number of attempts: 1
SFD-ROC: Tic-Tac-Toe - 131 entries

Tic-Tac-Toe You are 'X', and it is your turn. Stop 'O' from winning, and complete the game. Draw a diagonal line through your winning row of three X's.

  • Best score: 25
  • Best player score: 30
  • Position: #14 / 49
  • Number of attempts: 2
SFD-ROC: The Quick Brown Fox - 152 entries

Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.

  • Best score: 25
  • Best player score: 28
  • Position: #32 / 95
  • Number of attempts: 1
SFD-ROC: ASCII Logo Border - 68 entries

Draw a border around this familiar logo ;)

  • Best score: 20
  • Best player score: 40
  • Position: #26 / 29
  • Number of attempts: 1
SFD-ROC: vimvimvim - 1495 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: #304 / 421
  • Number of attempts: 1
SFD-ROC: Pipe Dreams - 93 entries

Move the pipes so they match the output.

  • Best score: 12
  • Best player score: 14
  • Position: #11 / 43
  • Number of attempts: 3
Enharmonic Equivalents - 53 entries

Transform # and b to digraphs

  • Best score: 18
  • Best player score: 20
  • Position: #27 / 32
  • Number of attempts: 1
Multiplication table. - 195 entries

Create a multiplication table.

  • Best score: 31
  • Best player score: 71
  • Position: #29 / 63
  • Number of attempts: 5
Line Zipper - 430 entries

Zip/pair related lines.

  • Best score: 12
  • Best player score: 16
  • Position: #135 / 203
  • Number of attempts: 1
PHP <--> Java class conversion Part 2 - 84 entries

Same class but reverse!

  • Best score: 80
  • Best player score: 106
  • Position: #13 / 36
  • Number of attempts: 1
Alphabetize the directory - 267 entries

Put the contacts and their information in alphabetical order.

  • Best score: 30
  • Best player score: 32
  • Position: #28 / 96
  • Number of attempts: 2
PHP Array Syntax -> MailChimp Merge Syntax - 456 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: 33
  • Position: #76 / 141
  • Number of attempts: 1
Complete the hex array data - 190 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 23
  • Best player score: 27
  • Position: #34 / 72
  • Number of attempts: 1
Sort entries based on date - 319 entries

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

  • Best score: 11
  • Best player score: 16
  • Position: #79 / 107
  • Number of attempts: 1
Numbering a List - 1825 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #184 / 622
  • Number of attempts: 4
Jer Wilson
Twitter:

I ask that you judge me by the tweets that I tweet.

entered into 18 challenges

contributed 0 challenges