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 - 105 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: #17 / 35
  • Number of attempts: 1
Create json from a .env file - 1518 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 44
  • Position: #78 / 353
  • Number of attempts: 6
Sort and Tag - 676 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: #105 / 140
  • Number of attempts: 3
Changing date formats - 687 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 100
  • Position: #130 / 188
  • Number of attempts: 4
YAML to dotenv - 1459 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 22
  • Position: #125 / 298
  • Number of attempts: 7
Swap columns and transform to CSV format - 426 entries

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

  • Best score: 16
  • Best player score: 19
  • Position: #97 / 154
  • Number of attempts: 6
Fix the Scala Method - 306 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: #52 / 98
  • Number of attempts: 2
Move list of uuids into a SQL query - 227 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 / 73
  • Number of attempts: 5
Markdown Blog Editing - 456 entries

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

  • Best score: 30
  • Best player score: 37
  • Position: #29 / 107
  • Number of attempts: 6
Rearrange array to single level - 1720 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: #269 / 289
  • Number of attempts: 1
Rearrange array to one line - 807 entries

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

  • Best score: 13
  • Best player score: 22
  • Position: #123 / 190
  • Number of attempts: 1
New teacher - 1465 entries

Update the details of the new CS teacher.

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

entered into 12 challenges

contributed 0 challenges