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 - 753 entries

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

  • Best score: 5
  • Best player score: 15
  • Position: #388 / 406
  • Number of attempts: 3
Search and Replace 0 - 4978 entries

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

  • Best score: 12
  • Best player score: 13
  • Position: #744 / 1621
  • Number of attempts: 5
Cartesian product - 248 entries

{1,2,3,4,5} X {1,2,3,4,5}

  • Best score: 24
  • Best player score: 32
  • Position: #36 / 94
  • Number of attempts: 1
It'ss tooo coold too typpe todaay - 222 entries

My hands are numb with cold. It's hard to type correctly.

  • Best score: 16
  • Best player score: 24
  • Position: #74 / 97
  • Number of attempts: 1
Rotating Philosophers Problem - 410 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 32
  • Position: #100 / 166
  • Number of attempts: 2
Reformat long lines - 358 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 17
  • Position: #47 / 134
  • Number of attempts: 1
Generate English Alphabets - 487 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #94 / 206
  • Number of attempts: 1
Assignment Alignment - 883 entries

line up the operators. Use spaces, not tabs.

  • Best score: 18
  • Best player score: 29
  • Position: #139 / 220
  • Number of attempts: 2
Shebangs for all - 1991 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 15
  • Position: #248 / 514
  • Number of attempts: 1
A Simple One - 1045 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: #65 / 660
  • Number of attempts: 1
Table Reshuffle - 410 entries

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

  • Best score: 22
  • Best player score: 60
  • Position: #133 / 138
  • Number of attempts: 1
Reverse Simple Deletion - 847 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #162 / 458
  • Number of attempts: 1
Increment, increment, increment.... - 677 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #94 / 405
  • Number of attempts: 2
Hatsuyume - 495 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 15
  • Best player score: 46
  • Position: #176 / 182
  • Number of attempts: 1
Dumb to smart - 97 entries

Turn dumb quote to smart vim's way.

  • Best score: 28
  • Best player score: 32
  • Position: #29 / 55
  • Number of attempts: 1
The Cake is a Lie - 1330 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 11
  • Position: #393 / 523
  • Number of attempts: 3
Fix the Haiku - 293 entries

Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.

  • Best score: 28
  • Best player score: 53
  • Position: #102 / 112
  • Number of attempts: 1
Context Insensitive completion 1 - 494 entries

Finish writing this simple Python HTTP server.

  • Best score: 18
  • Best player score: 22
  • Position: #197 / 243
  • Number of attempts: 1
Make Fancy Header - 1046 entries

Make the header text stand out with surrounding asterisks

  • Best score: 15
  • Best player score: 18
  • Position: #214 / 343
  • Number of attempts: 2
Reformat most common surnames - 696 entries

Reformat copy-pasted table into a list of the most common surnames

  • Best score: 23
  • Best player score: 47
  • Position: #177 / 207
  • Number of attempts: 1
Sort and add attributes - 1433 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 44
  • Position: #537 / 557
  • Number of attempts: 2
Whitespace, empty lines and tabs - 3591 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

  • Best score: 16
  • Best player score: 34
  • Position: #620 / 776
  • Number of attempts: 2
Flodder-challenge - 1233 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #250 / 331
  • Number of attempts: 2
Simple text editing with Vim - 12712 entries

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

  • Best score: 13
  • Best player score: 16
  • Position: #2122 / 3671
  • Number of attempts: 2
Soliman Sylvain
Twitter:

Computer Science researcher, Mac user, Linux sysadmin, cross-platform developper, go and BJ player, pop-rock listener...

entered into 24 challenges

contributed 0 challenges