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

Put the months in order - 373 entries

Our contractor thought that months should be in alphabetical order. Put them in calendar order please.

  • Best score: 23
  • Best player score: 84
  • Number of attempts: 1
simple format - 2376 entries

make it look better.

  • Best score: 20
  • Best player score: 68
  • Number of attempts: 2
Basic renumbering - 4511 entries

Renumbering Basic.

  • Best score: 2
  • Best player score: 31
  • Number of attempts: 1
Copy three lines - 1983 entries

If the site is up (by some miracle), make the text under every header identical.

  • Best score: 13
  • Best player score: 30
  • Number of attempts: 1
remove lines containing the word "reader" - 1282 entries

easy stuff

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 3
Simple, Practical, and Common - 24044 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: 2
  • Best player score: 33
  • Number of attempts: 1
Don't know what this is - 1711 entries

Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.

  • Best score: 11
  • Best player score: 16
  • Number of attempts: 2
switch variable - 4251 entries

how fast can you switch two variable ?

  • Best score: 3
  • Best player score: 18
  • Number of attempts: 2
Missing Library and a Typo - 654 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 36
  • Number of attempts: 1
Search and Replace 0 - 4021 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 2
One number per line - 12155 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 23
  • Number of attempts: 2
Delete to the end of the current line - 383 entries

Delete to the end of the current line, but keep the character under the cursor.

  • Best score: 5
  • Best player score: 7
  • Number of attempts: 1
Applying same text modification in several lines - 1469 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 4
  • Best player score: 26
  • Number of attempts: 1
For all cases. - 103 entries

In this case... change it! :) Watch the line.

  • Best score: 8
  • Best player score: 15
  • Number of attempts: 1
Extract argument from function - 1987 entries

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

  • Best score: 13
  • Best player score: 19
  • Number of attempts: 2
Graham Singer
Twitter:

entered into 15 challenges

contributed 0 challenges