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 - 504 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 / 115
  • Number of attempts: 3
Wrap the text of an email message to 79 characters - 885 entries

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

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

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

  • Best score: 7
  • Best player score: 12
  • Position: #57 / 1680
  • Number of attempts: 2
Just the middle - 11636 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #1989 / 4262
  • Number of attempts: 3
Recursively Palindrome - 291 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 37
  • Position: #65 / 77
  • Number of attempts: 2
Sort the cardinal numbers - 330 entries

Maybe a simple challenge.

  • Best score: 12
  • Best player score: 20
  • Position: #141 / 152
  • 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) - 729 entries

Align as one import per line.

  • Best score: 17
  • Best player score: 45
  • Position: #193 / 205
  • Number of attempts: 1
A Simple One - 1096 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 / 683
  • 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 - 502 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: #95 / 182
  • Number of attempts: 3
Reverse Simple Deletion - 875 entries

You did the simple deletion, now reverse it.

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

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #158 / 420
  • 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 - 536 entries

Finish writing this simple Python HTTP server.

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

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

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

Official Twitter account of @graywh

entered into 17 challenges

contributed 0 challenges