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

VimGolfNight - 482 entries

Based on "The name of the game".

  • Best score: 12
  • Best player score: 12
  • Position: #90 / 322
  • Number of attempts: 2
attr_aligner - 3350 entries

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

  • Best score: 19
  • Best player score: 27
  • Position: #269 / 678
  • Number of attempts: 3
Letter case trickery - 1517 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: 13
  • Position: #355 / 493
  • Number of attempts: 3
quotes inside quotes - 2996 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: 3
  • Best player score: 17
  • Position: #703 / 1037
  • Number of attempts: 5
Words in parens - 12682 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #107 / 3905
  • Number of attempts: 3
Delete unwanted lines - 350 entries

Delete all lines which does not end in "o.."

  • Best score: 9
  • Best player score: 9
  • Position: #89 / 210
  • Number of attempts: 2
switch variable - 4865 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 12
  • Position: #736 / 1689
  • Number of attempts: 2
Simple text editing with Vim - 11391 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1065 / 3347
  • Number of attempts: 3
Gemma Lynn
Twitter:

Programmer, (former) Moonkin, geek.

entered into 8 challenges

contributed 0 challenges