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

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

  • Best score: 9
  • Best player score: 10
  • Position: #322 / 918
  • Number of attempts: 7
From a Thunderlink to a Markdown link - 597 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: #49 / 136
  • Number of attempts: 10
Capitalize the Names - 248 entries

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

  • Best score: 3
  • Best player score: 21
  • Position: #22 / 65
  • Number of attempts: 11
Simple, Practical, and Common - 32746 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: #2269 / 7235
  • Number of attempts: 8
Hogwarts Email Sorting - 783 entries

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

  • Best score: 20
  • Best player score: 21
  • Position: #80 / 224
  • Number of attempts: 2
prepend * to every non-blank line - 5776 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #631 / 1421
  • Number of attempts: 3
Quote modules - 981 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 22
  • Position: #63 / 250
  • Number of attempts: 11
V to the i - 4596 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1440 / 1837
  • Number of attempts: 1
Add semicolons - 10429 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #657 / 2954
  • Number of attempts: 4
Just the middle - 11074 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3087 / 4088
  • Number of attempts: 2
Increment each number - 922 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #80 / 228
  • Number of attempts: 7
I forgot quotes - 15639 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1211 / 4095
  • Number of attempts: 8
learn vim in short time - 212 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 9
  • Position: #136 / 144
  • Number of attempts: 2
Words in parens - 12678 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1115 / 3904
  • Number of attempts: 10
Switch function arguments - 1933 entries

How to switch two arguments of a function.

  • Best score: 3
  • Best player score: 12
  • Position: #306 / 617
  • Number of attempts: 5
MySelf
Twitter:

entered into 15 challenges

contributed 0 challenges