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

Extract argument from function - 2397 entries

The aim is to see if you can do some refactoring very fast.

  • Best score: 13
  • Best player score: 16
  • Position: #493 / 766
  • Number of attempts: 1
Across-Down Flip - 81 entries

Do this instead of the Sunday crossword.

  • Best score: 23
  • Best player score: 30
  • Position: #17 / 27
  • Number of attempts: 1
Two become one - 736 entries

We have two c arrays and want to make one two dimensional out of it. Can we do that?

  • Best score: 25
  • Best player score: 33
  • Position: #130 / 212
  • Number of attempts: 1
Shuffle puzzle - 361 entries

Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.

  • Best score: 13
  • Best player score: 15
  • Position: #59 / 106
  • Number of attempts: 2
attr_aligner - 3565 entries

Two attr keywords. Two separate indentations. Align the colons.

  • Best score: 19
  • Best player score: 26
  • Position: #270 / 709
  • Number of attempts: 4
Letter case trickery - 1663 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 11
  • Position: #251 / 522
  • Number of attempts: 3
quotes inside quotes - 3198 entries

taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)

  • Best score: 14
  • Best player score: 14
  • Position: #156 / 1090
  • Number of attempts: 4
Words in parens - 13029 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 16
  • Position: #2137 / 3985
  • Number of attempts: 1
switch variable - 5110 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #302 / 1758
  • Number of attempts: 2
Simple text editing with Vim - 13521 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1348 / 3877
  • Number of attempts: 1
Tim Vim
Twitter:

entered into 10 challenges

contributed 0 challenges