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

Wrap the text of an email message to 79 characters - 565 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #2 / 348
  • Number of attempts: 2
Search and Replace 0 - 4640 entries

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

  • Best score: 12
  • Best player score: 12
  • Position: #56 / 1537
  • Number of attempts: 2
Just the middle - 11119 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1941 / 4108
  • Number of attempts: 3
Recursively Palindrome - 234 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 37
  • Position: #59 / 71
  • Number of attempts: 2
Sort the cardinal numbers - 268 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 20
  • Position: #129 / 138
  • Number of attempts: 1
Complete the hex array data - 190 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #30 / 72
  • Number of attempts: 3
Case preserving word replacement - 436 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
  • Position: #82 / 175
  • Number of attempts: 1
imports alignment (python) - 639 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 45
  • Position: #180 / 190
  • Number of attempts: 1
A Simple One - 912 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
  • Position: #99 / 606
  • Number of attempts: 1
Table Reshuffle - 334 entries

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

  • Best score: 22
  • Best player score: 39
  • Position: #92 / 124
  • Number of attempts: 2
Reverse and count - 407 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
  • Position: #75 / 155
  • Number of attempts: 3
Reverse Simple Deletion - 754 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #111 / 427
  • Number of attempts: 2
Increment, increment, increment.... - 557 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #119 / 367
  • Number of attempts: 2
Indentation - 443 entries

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

  • Best score: 21
  • Best player score: 25
  • Position: #42 / 158
  • Number of attempts: 2
Context Insensitive completion 1 - 422 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 18
  • Position: #28 / 218
  • Number of attempts: 2
Simple text editing with Vim - 11589 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #714 / 3402
  • Number of attempts: 3
Will Gray
Twitter:

entered into 16 challenges

contributed 0 challenges