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

Simple text editing with Vim - 10610 entries

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

  • Best score: 13
  • Best player score: 25
  • Number of attempts: 3
Unwrap the text of an email message - 150 entries

Reverse of "Wrap the text of an email message to 79 characters". gq and gw are great for wrapping paragraphs. But sometimes other programs choke on your wrapped lines. What's the best way to un-gq?

  • Best score: 16
  • Best player score: 24
  • Number of attempts: 4
Extract argument from function - 2040 entries

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

  • Best score: 13
  • Best player score: 24
  • Number of attempts: 2
Switch function arguments - 1843 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 9670 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Simple, Practical, and Common - 26339 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 14
  • Best player score: 29
  • Number of attempts: 3
Collect List - 3582 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 15
  • Number of attempts: 4
Where should I put the Newline? - 800 entries

Help me put the newline.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
NBCU Weekly Challenge - Test - 221 entries

Just testing.

  • Best score: 18
  • Best player score: 22
  • Number of attempts: 1
I forgot quotes - 12483 entries

Oops.

  • Best score: 10
  • Best player score: 18
  • Number of attempts: 1
Just the middle - 9554 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 10
  • Number of attempts: 5
Words in parens - 11284 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 19
  • Number of attempts: 5
Make it more readable - 1765 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Number of attempts: 6
Vice versa - 6174 entries

Little role switching.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 1
No Holiness
Twitter:

entered into 14 challenges

contributed 0 challenges