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

Make HTML List - 786 entries

Turn the comma separated list into an unordered html list.

  • Best score: 33
  • Best player score: 48
  • Number of attempts: 1
Restore order to the alphabet - 149 entries

The numbers are OK. The letters are wonky.

  • Best score: 12
  • Best player score: 26
  • Number of attempts: 1
replacing each line of a block selection - 2329 entries

replace each line's ../assets/js with /javascripts

  • Best score: 17
  • Best player score: 24
  • Number of attempts: 1
ASCII box - 286 entries

Don't forget to fix typos!

  • Best score: 23
  • Best player score: 26
  • Number of attempts: 4
Space out the alphabet - 1212 entries

Put 3 spaces between adjacent letters.

  • Best score: 15
  • Best player score: 19
  • Number of attempts: 3
Wget failed to download redirections - 153 entries

Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.

  • Best score: 15
  • Best player score: 18
  • Number of attempts: 2
Not enough Ps - 44 entries

Different type of code

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 1
I forgot quotes - 9763 entries

Oops.

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 6
Land of the Lost - 60 entries

Enter the tabs below the lyrics

  • Best score: 26
  • Best player score: 50
  • Number of attempts: 1
Just the middle - 8291 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 7
Simple, Practical, and Common - 20086 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: 7
  • Best player score: 28
  • Number of attempts: 1
readability - 278 entries

Make the code readable by adding some spaces

  • Best score: 18
  • Best player score: 19
  • Number of attempts: 1
Collect List - 3039 entries

Convert to comma separated list.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 8895 entries

A HAPPY NEW YEAR 2014 !

  • Best score: 11
  • Best player score: 14
  • Number of attempts: 2
V to the i - 3417 entries

Input is 99 V's. Output is 100 i's.

  • Best score: 7
  • Best player score: 8
  • Number of attempts: 2
Sorting database text output - 183 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
Happy TvvO - 339 entries

Don’t forget the past, learn from it. Happy New Year.

  • Best score: 12
  • Best player score: 12
  • Number of attempts: 2
Swap values - 3010 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 15
  • Number of attempts: 1
Mute the second method of this script - 391 entries

prepend a # infront of every line of the second method

  • Best score: 9
  • Best player score: 9
  • Number of attempts: 2
comments galore - 830 entries

Basic comment reformatting

  • Best score: 10
  • Best player score: 10
  • Number of attempts: 4
-a-b-c- - 2292 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 13
  • Number of attempts: 2
Vice versa - 5178 entries

Little role switching.

  • Best score: 2
  • Best player score: 12
  • Number of attempts: 3
Gammelin Guillaume
Twitter:

#Web #Developper (#PHP, #Python, #JavaScript...) #Vim. Open source enthousiast.

entered into 22 challenges

contributed 0 challenges