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

Sierpinski's Triangle - 110 entries

Build the famous fractal, Sierpinski's Triangle.

  • Best score: 25
  • Best player score: 31
  • Position: #15 / 29
  • Number of attempts: 3
Do you demand a shrubbery? - 1208 entries

Use :redir and crush the emacsgolfers.

  • Best score: 15
  • Best player score: 15
  • Position: #13 / 310
  • Number of attempts: 13
A HAPPY NEW YEAR 2014 ! - 10758 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #407 / 3717
  • Number of attempts: 4
Letter case trickery - 1688 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: 12
  • Position: #339 / 526
  • Number of attempts: 5
quotes inside quotes - 3203 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: 17
  • Position: #840 / 1094
  • Number of attempts: 4
Words in parens - 13054 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3450 / 3991
  • Number of attempts: 4
Parsing with CSV: Unify lines and result. - 198 entries

col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?

  • Best score: 21
  • Best player score: 21
  • Position: #23 / 80
  • Number of attempts: 3
Circle of Fifths with Sharps - 133 entries

Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.

  • Best score: 24
  • Best player score: 37
  • Position: #29 / 40
  • Number of attempts: 2
Numbering a List - 1969 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 21
  • Position: #409 / 661
  • Number of attempts: 1
Compile C - 454 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 30
  • Position: #130 / 146
  • Number of attempts: 1
Simple text editing with Vim - 13645 entries

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

  • Best score: 13
  • Best player score: 57
  • Position: #3833 / 3907
  • Number of attempts: 1
Jimmy McRascal
Twitter:

entered into 11 challenges

contributed 0 challenges