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: 106
  • Position: #27 / 69
  • Number of attempts: 3
Create json from a .env file - 1716 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 73
  • Position: #281 / 416
  • Number of attempts: 2
Swap columns and transform to CSV format - 491 entries

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

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

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 26
  • Position: #191 / 242
  • Number of attempts: 2
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: 28
  • Position: #176 / 307
  • Number of attempts: 4
clejui
Github:

entered into 6 challenges

contributed 0 challenges