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

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

  • Best score: 9
  • Best player score: 10
  • Position: #376 / 1120
  • Number of attempts: 7
From a Thunderlink to a Markdown link - 796 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: #67 / 175
  • Number of attempts: 10
Capitalize the Names - 429 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 / 100
  • Number of attempts: 11
Simple, Practical, and Common - 33958 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 / 7498
  • Number of attempts: 8
Hogwarts Email Sorting - 948 entries

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

  • Best score: 20
  • Best player score: 21
  • Position: #92 / 268
  • Number of attempts: 2
prepend * to every non-blank line - 6388 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #684 / 1559
  • Number of attempts: 3
Quote modules - 1099 entries

Complete golang import statement.

  • Best score: 21
  • Best player score: 22
  • Position: #72 / 287
  • Number of attempts: 11
V to the i - 4848 entries

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

  • Best score: 7
  • Best player score: 8
  • Position: #1475 / 1907
  • Number of attempts: 1
Add semicolons - 10932 entries

Simply add a semicolon at the end of each line

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

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3136 / 4240
  • Number of attempts: 2
Increment each number - 1062 entries

Increment each number individually by one

  • Best score: 15
  • Best player score: 16
  • Position: #83 / 257
  • Number of attempts: 7
I forgot quotes - 16176 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1241 / 4216
  • Number of attempts: 8
learn vim in short time - 245 entries

so happy to learn vim.because vim is awesome

  • Best score: 8
  • Best player score: 9
  • Position: #151 / 165
  • Number of attempts: 2
Words in parens - 13024 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1140 / 3983
  • Number of attempts: 10
Switch function arguments - 2195 entries

How to switch two arguments of a function.

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

entered into 15 challenges

contributed 0 challenges