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 - 32910 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: #915 / 7271
  • Number of attempts: 8
One number per line - 18378 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Position: #224 / 3788
  • Number of attempts: 8
Just the middle - 11140 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Position: #219 / 4113
  • Number of attempts: 3
Stairstep digits - 245 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Position: #61 / 116
  • Number of attempts: 2
Missing Library and a Typo - 836 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: 22
  • Position: #162 / 205
  • Number of attempts: 1
Basic renumbering - 5436 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Position: #618 / 1228
  • Number of attempts: 2
Nesting SASS - 248 entries

Move a block inside another block and indent it

  • Best score: 9
  • Best player score: 9
  • Position: #18 / 88
  • Number of attempts: 5
comments galore - 970 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Position: #98 / 410
  • Number of attempts: 4
Sorting database text output - 206 entries

Sometimes it is nice to be able to quickly take column-formatted text output from the SQL command line and turn it into a list of useful data. In this case we want a unique, sorted list of the values from the second column combined into one comma-separated list. What is the fewest strokes you can do this in?

  • Best score: 24
  • Best player score: 24
  • Position: #29 / 79
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10533 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Position: #689 / 3637
  • Number of attempts: 6
Letter case trickery - 1547 entries

This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.

  • Best score: 9
  • Best player score: 10
  • Position: #124 / 498
  • Number of attempts: 3
Emmanuel Denloye-Ito
Twitter:

Electrical Engineering Graduate Student at University of Virginia.

entered into 11 challenges

contributed 0 challenges