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 - 149 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: 106
  • Position: #18 / 45
  • Number of attempts: 3
Create json from a .env file - 1569 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 73
  • Position: #249 / 369
  • Number of attempts: 2
Swap columns and transform to CSV format - 439 entries

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

  • Best score: 16
  • Best player score: 29
  • Position: #143 / 159
  • Number of attempts: 3
Change class fields from camel case to snake case - 602 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 18
  • Position: #42 / 136
  • Number of attempts: 11
Reorganize Pokémon - 821 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 26
  • Position: #177 / 224
  • Number of attempts: 2
Rearrange array to single level - 1768 entries

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

  • Best score: 14
  • Best player score: 28
  • Position: #171 / 296
  • Number of attempts: 4
clejui
Github:

entered into 6 challenges

contributed 0 challenges