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

Sorting database text output - 188 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
  • Number of attempts: 2
comments galore - 908 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
Basic renumbering - 4682 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 18
  • Number of attempts: 2
Just the middle - 9421 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 7
  • Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 9599 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 11
  • Number of attempts: 6
Nesting SASS - 222 entries

Move a block inside another block and indent it

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 5
Stairstep digits - 218 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 13
  • Number of attempts: 2
One number per line - 13373 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 14
  • Number of attempts: 8
Missing Library and a Typo - 714 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
  • Number of attempts: 1
Letter case trickery - 1448 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
  • Number of attempts: 3
Simple, Practical, and Common - 25694 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
  • Number of attempts: 8
Emmanuel Denloye-Ito
Twitter:

Electrical Engineering Graduate Student at University of Virginia.

entered into 11 challenges

contributed 0 challenges