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

Before there was Farmville... - 91 entries

There was old MacDonald. For my toddler. The first Vim sing-a-long?

  • Best score: 156
  • Best player score: 208
  • Number of attempts: 4
Java Array2List - 214 entries

Convert an java array initializer into a list.

  • Best score: 67
  • Best player score: 77
  • Number of attempts: 7
HTML to Haml - 738 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 27
  • Number of attempts: 17
Numbering a List - 1754 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 5
Increment, increment, increment.... - 494 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 1
Vertical Limit - 2168 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Number of attempts: 6
Insert a Markdown link - 387 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 22
  • Number of attempts: 18
Assignment Alignment - 707 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 11
maximun and minimun - 45 entries

Find the maximum and minimum of the rows.

  • Best score: 51
  • Best player score: 52
  • Number of attempts: 2
Generate English Alphabets - 413 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 24
  • Number of attempts: 3
Recursively Palindrome - 220 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 23
  • Number of attempts: 10
The Universal Declaration of Human Rights, Article 1 - 128 entries

Somebody's got this slightly muddled up. See how quickly you can fix it. (I made this to experiment with buffers. I'm not actually sure whether this is faster with buffers or without.)

  • Best score: 24
  • Best player score: 26
  • Number of attempts: 4
Andrew Dorman
Twitter:

entered into 12 challenges

contributed 0 challenges