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 - 79 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: 86
  • Best player score: 121
  • Position: #15 / 25
  • Number of attempts: 2
π - 237 entries

1200 π chars

  • Best score: 16
  • Best player score: 17
  • Position: #27 / 60
  • Number of attempts: 6
Create json from a .env file - 1456 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 54
  • Position: #130 / 339
  • Number of attempts: 3
Reordering properties - 1110 entries

Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.

  • Best score: 24
  • Best player score: 30
  • Position: #15 / 260
  • Number of attempts: 1
Change to ascending order - 483 entries

Change each line of numbers consistently from descending to ascending order.

  • Best score: 17
  • Best player score: 18
  • Position: #23 / 117
  • Number of attempts: 19
Change class fields from snake case to camel case - 290 entries

Change the class fields in this Scala class from snake case to camel case

  • Best score: 13
  • Best player score: 13
  • Position: #66 / 108
  • Number of attempts: 1
Reorganize Pokémon - 734 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #63 / 203
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 253 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 44
  • Position: #31 / 98
  • Number of attempts: 1
Append leading hyphen count to each line - 126 entries

Append the number of leading hyphens to the end of each line.

  • Best score: 23
  • Best player score: 24
  • Position: #14 / 35
  • Number of attempts: 4
sasher8
Github:

entered into 9 challenges

contributed 0 challenges