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 - 33379 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: #1251 / 7363
  • Number of attempts: 3
Swap values - 4543 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 12
  • Position: #446 / 1257
  • Number of attempts: 1
One number per line - 18616 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 19
  • Position: #1770 / 3842
  • Number of attempts: 1
Array propagate - 319 entries

Complete the array with the keys as part of the value

  • Best score: 23
  • Best player score: 23
  • Position: #4 / 115
  • Number of attempts: 3
That hyphen - 2556 entries

"vim vi improved"

  • Best score: 9
  • Best player score: 10
  • Position: #241 / 695
  • Number of attempts: 2
Just the middle - 11360 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #2589 / 4164
  • Number of attempts: 1
Team names - 1805 entries

The team names are misspelled.

  • Best score: 16
  • Best player score: 16
  • Position: #105 / 581
  • Number of attempts: 1
Subnetting - 111 entries

Split up the IP addresses in the right way.

  • Best score: 29
  • Best player score: 36
  • Position: #22 / 36
  • Number of attempts: 2
Missing Library and a Typo - 856 entries

I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.

  • Best score: 15
  • Best player score: 18
  • Position: #131 / 209
  • Number of attempts: 2
Basic renumbering - 5587 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 12
  • Position: #278 / 1258
  • Number of attempts: 3
Vice versa - 7797 entries

Little role switching.

  • Best score: 12
  • Best player score: 12
  • Position: #345 / 2099
  • Number of attempts: 4
Array transposition - 2378 entries

Transpose two arrays into one.

  • Best score: 16
  • Best player score: 18
  • Position: #194 / 443
  • Number of attempts: 3
Mirror Symmetry - 798 entries

Add backslashes.

  • Best score: 7
  • Best player score: 12
  • Position: #164 / 266
  • Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10624 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #1233 / 3666
  • Number of attempts: 1
Append semicolon after expressions - 1005 entries

Some lines need the semicolon, some don't.

  • Best score: 11
  • Best player score: 12
  • Position: #232 / 403
  • Number of attempts: 1
Simple text editing with Vim - 12281 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1614 / 3580
  • Number of attempts: 1
Bart Reynolds
Twitter:

entered into 16 challenges

contributed 0 challenges