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 - 183 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: #37 / 60
  • Number of attempts: 2
π - 321 entries

1200 π chars

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

A simple everyday task.

  • Best score: 38
  • Best player score: 54
  • Position: #145 / 401
  • Number of attempts: 3
Reordering properties - 1308 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: #20 / 293
  • Number of attempts: 1
Change to ascending order - 516 entries

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

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

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

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

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 19
  • Position: #69 / 235
  • Number of attempts: 3
CaN yOuR ViM dO ThAt? #1 - 292 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 / 115
  • Number of attempts: 1
Append leading hyphen count to each line - 141 entries

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

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

entered into 9 challenges

contributed 0 challenges