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 - 151 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: 121
  • Position: #28 / 46
  • Number of attempts: 2
π - 298 entries

1200 π chars

  • Best score: 16
  • Best player score: 17
  • Position: #30 / 71
  • Number of attempts: 6
Create json from a .env file - 1585 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 54
  • Position: #139 / 376
  • Number of attempts: 3
Reordering properties - 1220 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: #17 / 279
  • Number of attempts: 1
Change to ascending order - 500 entries

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

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

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #68 / 226
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 270 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: #32 / 107
  • Number of attempts: 1
Append leading hyphen count to each line - 134 entries

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

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

entered into 9 challenges

contributed 0 challenges