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: 59
  • Position: #83 / 245
  • Number of attempts: 4
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: 138
  • Position: #110 / 128
  • Number of attempts: 1
Changing date formats - 617 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 90
  • Position: #108 / 172
  • Number of attempts: 2
YAML to dotenv - 1258 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 21
  • Position: #97 / 268
  • Number of attempts: 3
Remove adjacent duplicates - 646 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 26
  • Position: #88 / 162
  • Number of attempts: 1
Rearrange array to single level - 1649 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 32
  • Position: #185 / 272
  • Number of attempts: 1
Maxime Delhaye
Github:

entered into 6 challenges

contributed 0 challenges