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

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

  • Best score: 9
  • Best player score: 10
  • Position: #373 / 1116
  • Number of attempts: 7
From a Thunderlink to a Markdown link - 783 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 / 174
  • 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 - 33866 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 / 7474
  • Number of attempts: 8
Hogwarts Email Sorting - 944 entries

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

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

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

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

Complete golang import statement.

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

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

  • Best score: 7
  • Best player score: 8
  • Position: #1473 / 1903
  • Number of attempts: 1
Add semicolons - 10916 entries

Simply add a semicolon at the end of each line

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3132 / 4230
  • Number of attempts: 2
Increment each number - 1043 entries

Increment each number individually by one

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

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1237 / 4202
  • Number of attempts: 8
learn vim in short time - 242 entries

so happy to learn vim.because vim is awesome

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

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1137 / 3977
  • Number of attempts: 10
Switch function arguments - 2182 entries

How to switch two arguments of a function.

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

entered into 15 challenges

contributed 0 challenges