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 - 79 entries

Build the famous fractal, Sierpinski's Triangle.

  • Best score: 25
  • Best player score: 31
  • Position: #11 / 23
  • Number of attempts: 3
Do you demand a shrubbery? - 1081 entries

Use :redir and crush the emacsgolfers.

  • Best score: 8
  • Best player score: 15
  • Position: #14 / 286
  • Number of attempts: 13
A HAPPY NEW YEAR 2014 ! - 10507 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #407 / 3626
  • Number of attempts: 4
Letter case trickery - 1515 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: #317 / 492
  • Number of attempts: 5
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: #802 / 1037
  • Number of attempts: 4
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 21
  • Position: #3376 / 3904
  • Number of attempts: 4
Parsing with CSV: Unify lines and result. - 163 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 / 71
  • Number of attempts: 3
Circle of Fifths with Sharps - 71 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: #21 / 31
  • Number of attempts: 2
Numbering a List - 1774 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 21
  • Position: #367 / 609
  • Number of attempts: 1
Compile C - 288 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 30
  • Position: #105 / 115
  • Number of attempts: 1
Simple text editing with Vim - 11365 entries

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

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

entered into 11 challenges

contributed 0 challenges