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

Reordering properties - 1067 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: 93
  • Position: #163 / 245
  • Number of attempts: 2
Sort and Tag - 632 entries

The goal is to sort these lines alphabetically, assign a unique identifier to each line in the format "[01]", "[02]", etc., and then restore the original order of the lines while preserving the assigned identifiers.

  • Best score: 36
  • Best player score: 132
  • Position: #105 / 128
  • Number of attempts: 2
Changing date formats - 617 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 83
  • Position: #95 / 172
  • Number of attempts: 1
YAML to dotenv - 1256 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 29
  • Position: #171 / 267
  • Number of attempts: 6
Swap columns and transform to CSV format - 387 entries

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

  • Best score: 16
  • Best player score: 20
  • Position: #97 / 144
  • Number of attempts: 1
Rearrange array to one line - 774 entries

Rearrange the array content on only one line, and remove trailing commas

  • Best score: 13
  • Best player score: 52
  • Position: #167 / 183
  • Number of attempts: 1
HADIOUCHE Azouaou
Github:

entered into 6 challenges

contributed 0 challenges