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

A Simple One - 934 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: 13
  • Position: #565 / 617
  • Number of attempts: 1
Reformat some Python - 565 entries

Fix some very bizarrely laid-out code.

  • Best score: 34
  • Best player score: 41
  • Position: #92 / 223
  • Number of attempts: 1
Reformat a C golf submission - 536 entries

Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.

  • Best score: 22
  • Best player score: 29
  • Position: #62 / 195
  • Number of attempts: 1
Reverse characters in a line - 645 entries

You have everything you need, just not in the right order. Mastermind would give you 26 white pegs.

  • Best score: 12
  • Best player score: 15
  • Position: #91 / 236
  • Number of attempts: 3
Reformat most common surnames - 593 entries

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

  • Best score: 23
  • Best player score: 40
  • Position: #145 / 187
  • Number of attempts: 1
Get rid of html tags - 341 entries

Want to read more about Vim's background? Then get rid of those html tags...

  • Best score: 15
  • Best player score: 19
  • Position: #121 / 207
  • Number of attempts: 1
Deleting folded text - 302 entries

The text below contains three folds. Delete them (and the text inside them). For example: 123 456 /*{{{*/ 789 /*}}}*/ 012 Should become: 123 012 Also, add `aoeuaoeu` to make sure small solutions don't get flagged as cheating.

  • Best score: 17
  • Best player score: 26
  • Position: #88 / 108
  • Number of attempts: 2
Reconstruct the Sentence - 1160 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 28
  • Position: #320 / 348
  • Number of attempts: 1
Flodder-challenge - 927 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 42
  • Position: #211 / 273
  • Number of attempts: 1
Simple text editing with Vim - 11657 entries

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

  • Best score: 13
  • Best player score: 17
  • Position: #2148 / 3418
  • Number of attempts: 2
Ben C
Twitter:

bolshegeek

entered into 10 challenges

contributed 0 challenges