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

Changing date formats - 751 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 192
  • Position: #202 / 211
  • Number of attempts: 1
Swap columns and transform to CSV format - 494 entries

Turn this spreadsheet output into a CSV file but first swap the columns

  • Best score: 16
  • Best player score: 19
  • Position: #106 / 177
  • Number of attempts: 2
Generate an entry for each month - 397 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 58
  • Position: #65 / 101
  • Number of attempts: 2
Reorganize Pokémon - 882 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 21
  • Position: #115 / 243
  • Number of attempts: 3
Word completion - 310 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 633
  • Position: #84 / 84
  • Number of attempts: 1
Move to corresponding lines - 334 entries

Move the values to the corresponding lines.

  • Best score: 16
  • Best player score: 20
  • Position: #27 / 76
  • Number of attempts: 6
Rearrange array to one line - 889 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 20
  • Position: #109 / 205
  • Number of attempts: 2
New teacher - 1527 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 20
  • Position: #45 / 319
  • Number of attempts: 8
months to html list items - 1151 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 27
  • Position: #188 / 311
  • Number of attempts: 4
Contribute to keyboard mashing - 913 entries

Speak in tongues

  • Best score: 17
  • Best player score: 17
  • Position: #57 / 277
  • Number of attempts: 3
Just the middle - 11620 entries

Delete the instructions at the top and bottom.

  • Best score: 7
  • Best player score: 8
  • Position: #3239 / 4258
  • Number of attempts: 3
Missing Library and a Typo - 954 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: 14
  • Best player score: 15
  • Position: #30 / 223
  • Number of attempts: 7
Changing URL path in CSS - 157 entries

What's the quickest way to swap out all the URLs in a CSS file? Is it wasted keystrokes using look-behinds and look-aheads? (I'm sorry for the delete/report--I made a mistake with the last one requiring an ugly search for graphic to replace with images. I just intended this to be a simple search and replace that might possibly generate some macros or normals solutions that are quicker)

  • Best score: 40
  • Best player score: 87
  • Position: #64 / 66
  • Number of attempts: 1
Let's play some Ivmgolf - 1163 entries

Oops, I spelled that wrong.

  • Best score: 7
  • Best player score: 11
  • Position: #388 / 459
  • Number of attempts: 4
Remove noise from HTTP log - 759 entries

This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.

  • Best score: 15
  • Best player score: 16
  • Position: #204 / 281
  • Number of attempts: 3
Shebangs for all - 2103 entries

We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.

  • Best score: 11
  • Best player score: 11
  • Position: #78 / 533
  • Number of attempts: 7
Sort and add attributes - 1598 entries

Sort the states and add the attribute country to each record.

  • Best score: 33
  • Best player score: 34
  • Position: #419 / 617
  • Number of attempts: 5
hwatson381
Github:

entered into 17 challenges

contributed 0 challenges