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

Convert list of enums to list of localization terms - 204 entries

While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.

  • Best score: 75
  • Best player score: 110
  • Position: #30 / 65
  • Number of attempts: 1
Create json from a .env file - 1658 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 44
  • Position: #87 / 407
  • Number of attempts: 6
Sort and Tag - 708 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 125
  • Position: #113 / 153
  • Number of attempts: 3
Changing date formats - 734 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 100
  • Position: #138 / 207
  • Number of attempts: 4
YAML to dotenv - 1600 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 22
  • Position: #137 / 335
  • Number of attempts: 7
Swap columns and transform to CSV format - 474 entries

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

  • Best score: 16
  • Best player score: 19
  • Position: #105 / 171
  • Number of attempts: 6
Fix the Scala Method - 368 entries

Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.

  • Best score: 2
  • Best player score: 23
  • Position: #59 / 121
  • Number of attempts: 2
Move list of uuids into a SQL query - 245 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 65
  • Position: #30 / 82
  • Number of attempts: 5
Markdown Blog Editing - 478 entries

Convert the given link text in start file to a markdown link list.

  • Best score: 30
  • Best player score: 37
  • Position: #30 / 115
  • Number of attempts: 6
Rearrange array to single level - 1814 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 75
  • Position: #285 / 306
  • Number of attempts: 1
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: 22
  • Position: #135 / 205
  • Number of attempts: 1
New teacher - 1513 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 26
  • Position: #175 / 318
  • Number of attempts: 3
Martin Knoller Stocker
Github:

entered into 12 challenges

contributed 0 challenges