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 - 213 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: #41 / 67
  • Number of attempts: 2
π - 327 entries

1200 π chars

  • Best score: 16
  • Best player score: 17
  • Position: #31 / 80
  • Number of attempts: 6
Create json from a .env file - 1682 entries

A simple everyday task.

  • Best score: 38
  • Best player score: 54
  • Position: #148 / 411
  • Number of attempts: 3
Reordering properties - 1368 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: #22 / 296
  • Number of attempts: 1
Change to ascending order - 541 entries

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

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

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #70 / 240
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 297 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: #34 / 118
  • Number of attempts: 1
Append leading hyphen count to each line - 148 entries

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

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

entered into 9 challenges

contributed 0 challenges