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

Simple, Practical, and Common - 32773 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: #1478 / 7241
  • Number of attempts: 9
prepend * to every non-blank line - 5829 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #444 / 1434
  • Number of attempts: 8
One number per line - 18295 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 20
  • Position: #2142 / 3770
  • Number of attempts: 7
Add semicolons - 10467 entries

Simply add a semicolon at the end of each line

  • Best score: 10
  • Best player score: 11
  • Position: #965 / 2966
  • Number of attempts: 10
Com(m)a Trouble - 3307 entries

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

  • Best score: 12
  • Best player score: 24
  • Position: #585 / 746
  • Number of attempts: 2
Extract wireshark capture filter - 171 entries

Extract wireshark capture filter from IP plan

  • Best score: 25
  • Best player score: 27
  • Position: #27 / 56
  • Number of attempts: 3
Just the middle - 11086 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2688 / 4093
  • Number of attempts: 1
I forgot quotes - 15666 entries

Oops.

  • Best score: 10
  • Best player score: 11
  • Position: #1173 / 4098
  • Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 10513 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1307 / 3629
  • Number of attempts: 5
Words in parens - 12690 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1655 / 3906
  • Number of attempts: 2
Reconstruct the Sentence - 1077 entries

Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.

  • Best score: 20
  • Best player score: 21
  • Position: #194 / 333
  • Number of attempts: 6
Simple text editing with Vim - 11438 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1617 / 3359
  • Number of attempts: 4
Jonghyun Yun
Twitter:

entered into 12 challenges

contributed 0 challenges