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

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

  • Best score: 9
  • Best player score: 9
  • Position: #11 / 1035
  • Number of attempts: 6
From a Thunderlink to a Markdown link - 712 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: #35 / 159
  • Number of attempts: 1
Yo To Hello - 1069 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #241 / 491
  • Number of attempts: 1
Simple, Practical, and Common - 33086 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: #2251 / 7297
  • Number of attempts: 5
Swap values - 4490 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Position: #509 / 1246
  • Number of attempts: 1
prepend * to every non-blank line - 6081 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #311 / 1485
  • Number of attempts: 3
One number per line - 18472 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #694 / 3807
  • Number of attempts: 6
Add semicolons - 10717 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #1577 / 3020
  • Number of attempts: 4
remove lines containing the word "reader" - 3483 entries

easy stuff

  • Best score: 9
  • Best player score: 10
  • Position: #800 / 1128
  • Number of attempts: 1
Com(m)a Trouble - 3478 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 12
  • Position: #127 / 780
  • Number of attempts: 4
Box it - 7722 entries

Create a box around a line.

  • Best score: 21
  • Best player score: 21
  • Position: #387 / 1842
  • Number of attempts: 4
Just the middle - 11284 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #1428 / 4140
  • Number of attempts: 2
Vice versa - 7615 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #568 / 2064
  • Number of attempts: 6
I forgot quotes - 15830 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Position: #1078 / 4130
  • Number of attempts: 5
A HAPPY NEW YEAR 2014 ! - 10562 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1545 / 3646
  • Number of attempts: 1
Words in parens - 12786 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 14
  • Position: #1119 / 3928
  • Number of attempts: 3
Vertical Limit - 2386 entries

transform a succession of one word lines to a an array of strings

  • Best score: 21
  • Best player score: 22
  • Position: #172 / 723
  • Number of attempts: 4
Simple text editing with Vim - 11822 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1829 / 3461
  • Number of attempts: 1
Adrien Lemaire ドリ
Twitter:

That which is measured improves. An investment in knowledge pays the best interest. CTO at Miraidenshi, Ironman Triathlete Trifather

entered into 18 challenges

contributed 0 challenges