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

Create json from a .env file - 1357 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 69
  • Position: #203 / 320
  • Number of attempts: 3
Reordering properties - 1069 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: 83
  • Position: #142 / 247
  • Number of attempts: 5
Sort and Tag - 635 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: 106
  • Position: #86 / 130
  • Number of attempts: 5
Changing date formats - 617 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 82
  • Position: #92 / 172
  • Number of attempts: 1
YAML to dotenv - 1292 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 28
  • Position: #166 / 271
  • Number of attempts: 2
Change to ascending order - 455 entries

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

  • Best score: 17
  • Best player score: 41
  • Position: #44 / 111
  • Number of attempts: 3
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: 17
  • Position: #54 / 144
  • Number of attempts: 2
Leonardo Dipilato
Github:

entered into 7 challenges

contributed 0 challenges