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 - 151 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: #21 / 46
  • Number of attempts: 1
Create json from a .env file - 1585 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 44
  • Position: #82 / 376
  • Number of attempts: 6
Sort and Tag - 685 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: #108 / 145
  • Number of attempts: 3
Changing date formats - 710 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 100
  • Position: #134 / 197
  • Number of attempts: 4
YAML to dotenv - 1542 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 22
  • Position: #132 / 316
  • Number of attempts: 7
Swap columns and transform to CSV format - 447 entries

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

  • Best score: 16
  • Best player score: 19
  • Position: #99 / 162
  • Number of attempts: 6
Fix the Scala Method - 338 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: #56 / 112
  • Number of attempts: 2
Move list of uuids into a SQL query - 228 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: #29 / 74
  • Number of attempts: 5
Markdown Blog Editing - 467 entries

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

  • Best score: 30
  • Best player score: 37
  • Position: #30 / 108
  • Number of attempts: 6
Rearrange array to single level - 1791 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: #279 / 299
  • Number of attempts: 1
Rearrange array to one line - 840 entries

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

  • Best score: 13
  • Best player score: 22
  • Position: #128 / 197
  • Number of attempts: 1
New teacher - 1480 entries

Update the details of the new CS teacher.

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

entered into 12 challenges

contributed 0 challenges