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

Rural Post - 4563 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #373 / 1113
  • Number of attempts: 7
From a Thunderlink to a Markdown link - 779 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 19
  • Position: #66 / 173
  • Number of attempts: 10
Capitalize the Names - 412 entries

I want to capitalize the names in quotes, but just the people's names, not the file names.

  • Best score: 21
  • Best player score: 21
  • Position: #21 / 98
  • Number of attempts: 11
Simple, Practical, and Common - 33746 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 22
  • Position: #2268 / 7449
  • Number of attempts: 8
Hogwarts Email Sorting - 930 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 21
  • Position: #91 / 263
  • Number of attempts: 2
prepend * to every non-blank line - 6358 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #681 / 1551
  • Number of attempts: 3
Quote modules - 1094 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 22
  • Position: #71 / 285
  • Number of attempts: 11
V to the i - 4824 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Position: #1471 / 1899
  • Number of attempts: 1
Add semicolons - 10889 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #656 / 3076
  • Number of attempts: 4
Just the middle - 11497 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3128 / 4215
  • Number of attempts: 2
Increment each number - 1036 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #82 / 252
  • Number of attempts: 7
I forgot quotes - 16051 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1236 / 4194
  • Number of attempts: 8
learn vim in short time - 240 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 9
  • Position: #149 / 161
  • Number of attempts: 2
Words in parens - 12969 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1134 / 3970
  • Number of attempts: 10
Switch function arguments - 2152 entries

How to switch two arguments of a function.

  • Best score: 11
  • Best player score: 12
  • Position: #324 / 667
  • Number of attempts: 5
MySelf
Twitter:

entered into 15 challenges

contributed 0 challenges