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

Generate English Alphabets - 487 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 25
  • Position: #75 / 206
  • Number of attempts: 4
Insert a Markdown link - 450 entries

Put a link in a markdown document, using the after-the-paragraph format.

  • Best score: 22
  • Best player score: 23
  • Position: #20 / 149
  • Number of attempts: 5
The holy-grail may help - 372 entries

Can you find it in less than 20 strokes, Arthur?

  • Best score: 16
  • Best player score: 16
  • Position: #57 / 211
  • Number of attempts: 1
A Simple One - 1057 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: #63 / 667
  • Number of attempts: 2
Increment, increment, increment.... - 692 entries

Vim likes macros

  • Best score: 10
  • Best player score: 12
  • Position: #86 / 410
  • Number of attempts: 1
Indentation - 550 entries

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

  • Best score: 20
  • Best player score: 30
  • Position: #106 / 180
  • Number of attempts: 1
Dumb to smart - 100 entries

Turn dumb quote to smart vim's way.

  • Best score: 28
  • Best player score: 29
  • Position: #15 / 57
  • Number of attempts: 1
The Cake is a Lie - 1359 entries

Correct the capitalization of each word

  • Best score: 9
  • Best player score: 9
  • Position: #30 / 530
  • Number of attempts: 1
Compile C - 430 entries

You might have to get clever to do this one.

  • Best score: 19
  • Best player score: 21
  • Position: #37 / 141
  • Number of attempts: 2
Get rid of html tags - 407 entries

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

  • Best score: 12
  • Best player score: 17
  • Position: #65 / 236
  • Number of attempts: 1
Deleting folded text - 386 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: 22
  • Position: #83 / 121
  • Number of attempts: 1
Simple text editing with Vim - 12954 entries

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

  • Best score: 13
  • Best player score: 18
  • Position: #2574 / 3729
  • Number of attempts: 2
Johannes Martinsson
Twitter:

surfing the intertubes

entered into 12 challenges

contributed 0 challenges