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

Insert column data on Confluence-style table - 503 entries

Add ip addresses into new "IP" column based on the last digits from the "Server" column

  • Best score: 33
  • Best player score: 46
  • Position: #55 / 114
  • Number of attempts: 3
Wrap the text of an email message to 79 characters - 870 entries

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

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

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

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1986 / 4258
  • Number of attempts: 3
Recursively Palindrome - 290 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 37
  • Position: #64 / 76
  • Number of attempts: 2
Sort the cardinal numbers - 328 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 20
  • Position: #140 / 151
  • Number of attempts: 1
Complete the hex array data - 215 entries

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

  • Best score: 23
  • Best player score: 27
  • Position: #32 / 76
  • Number of attempts: 3
Case preserving word replacement - 477 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: #90 / 186
  • Number of attempts: 1
imports alignment (python) - 725 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 45
  • Position: #191 / 203
  • Number of attempts: 1
A Simple One - 1093 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 / 681
  • Number of attempts: 1
Table Reshuffle - 468 entries

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

  • Best score: 22
  • Best player score: 39
  • Position: #106 / 145
  • Number of attempts: 2
Reverse and count - 501 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: #94 / 181
  • Number of attempts: 3
Reverse Simple Deletion - 874 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #126 / 466
  • Number of attempts: 2
Increment, increment, increment.... - 709 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #157 / 417
  • Number of attempts: 2
Indentation - 575 entries

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

  • Best score: 20
  • Best player score: 25
  • Position: #51 / 183
  • Number of attempts: 2
Context Insensitive completion 1 - 533 entries

Finish writing this simple Python HTTP server.

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

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

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

Official Twitter account of @graywh

entered into 17 challenges

contributed 0 challenges