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

Increment, increment, increment.... - 517 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Number of attempts: 2
Search and Replace 0 - 4444 entries

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

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Simple text editing with Vim - 11056 entries

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

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 3
Indentation - 418 entries

Indent each line according to the right number of spaces it needs.

  • Best score: 21
  • Best player score: 25
  • Number of attempts: 2
A Simple One - 854 entries

Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 1
Reverse and count - 383 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 26
  • Number of attempts: 3
Just the middle - 10451 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 3
Reverse Simple Deletion - 736 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Number of attempts: 2
Wrap the text of an email message to 79 characters - 517 entries

You're replying to an email with silly long lines. Clean them up.

  • Best score: 5
  • Best player score: 5
  • Number of attempts: 2
Context Insensitive completion 1 - 399 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 18
  • Number of attempts: 2
Case preserving word replacement - 395 entries

Half way through my project, my people turned into dogs. Now I have to change everything in my source.

  • Best score: 19
  • Best player score: 21
  • Number of attempts: 1
Sort the cardinal numbers - 226 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 20
  • Number of attempts: 1
Recursively Palindrome - 220 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 37
  • Number of attempts: 2
Complete the hex array data - 188 entries

Do not use external tools(e.g. tac, seq) [My interpretation of Rule #7]

  • Best score: 23
  • Best player score: 27
  • Number of attempts: 3
imports alignment (python) - 584 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 45
  • Number of attempts: 1
Table Reshuffle - 326 entries

Fix the column order in this table... also append the new 'username' column.

  • Best score: 22
  • Best player score: 39
  • Number of attempts: 2
Will Gray
Twitter:

entered into 16 challenges

contributed 0 challenges