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

swap number pairs - 2103 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 16
  • Position: #18 / 380
  • Number of attempts: 12
From a Thunderlink to a Markdown link - 764 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: 18
  • Position: #10 / 169
  • Number of attempts: 4
Capitalize the Names - 408 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: #14 / 97
  • Number of attempts: 4
Yo To Hello - 1130 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #64 / 524
  • Number of attempts: 1
Simple, Practical, and Common - 33614 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: #150 / 7418
  • Number of attempts: 9
Get mail address from outlook format - 649 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 15
  • Position: #40 / 204
  • Number of attempts: 5
prepend * to every non-blank line - 6308 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #158 / 1537
  • Number of attempts: 8
One number per line - 18725 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #651 / 3862
  • Number of attempts: 7
V to the i - 4802 entries

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

  • Best score: 7
  • Best player score: 7
  • Position: #308 / 1893
  • Number of attempts: 2
Applying same text modification in several lines - 2877 entries

Remove identical text at the beginning of several lines and the closing parenthesis.

  • Best score: 12
  • Best player score: 13
  • Position: #238 / 850
  • Number of attempts: 3
Add semicolons - 10851 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 10
  • Position: #527 / 3063
  • Number of attempts: 4
Split line with dots - 2144 entries

This line is too long, split it.

  • Best score: 15
  • Best player score: 24
  • Position: #510 / 634
  • Number of attempts: 2
remove lines containing the word "reader" - 3583 entries

easy stuff

  • Best score: 9
  • Best player score: 9
  • Position: #401 / 1161
  • Number of attempts: 2
Box it - 7904 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #329 / 1875
  • Number of attempts: 8
Just the middle - 11454 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1384 / 4197
  • Number of attempts: 3
comments galore - 1045 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #43 / 424
  • Number of attempts: 1
Replace and keep the case - 437 entries

Replace all instance of plugin and Plugin to device and Device.

  • Best score: 26
  • Best player score: 26
  • Position: #7 / 118
  • Number of attempts: 3
I forgot quotes - 15980 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1029 / 4179
  • Number of attempts: 5
Words in parens - 12930 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1099 / 3962
  • Number of attempts: 5
switch variable - 5071 entries

how fast can you switch two variable ?

  • Best score: 11
  • Best player score: 11
  • Position: #638 / 1748
  • Number of attempts: 3
Dirty Harry
Twitter:

entered into 20 challenges

contributed 0 challenges