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 - 228 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: #32 / 69
  • Number of attempts: 1
Create json from a .env file - 1716 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 44
  • Position: #89 / 416
  • Number of attempts: 6
Sort and Tag - 737 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: #114 / 156
  • Number of attempts: 3
Changing date formats - 751 entries

Change the date format to Y/M/D.

  • Best score: 36
  • Best player score: 100
  • Position: #141 / 211
  • Number of attempts: 4
YAML to dotenv - 1637 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 22
  • Position: #141 / 342
  • Number of attempts: 7
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: #109 / 177
  • Number of attempts: 6
Fix the Scala Method - 375 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 / 124
  • 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 - 485 entries

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

  • Best score: 30
  • Best player score: 37
  • Position: #30 / 117
  • Number of attempts: 6
Rearrange array to single level - 1829 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: #286 / 307
  • 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 - 1527 entries

Update the details of the new CS teacher.

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

entered into 12 challenges

contributed 0 challenges