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 - 1368 entries

A simple everyday task.

  • Best score: 39
  • Best player score: 63
  • Position: #178 / 323
  • Number of attempts: 3
Reordering properties - 1079 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: 45
  • Position: #55 / 250
  • Number of attempts: 7
Sort and Tag - 644 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: 89
  • Position: #71 / 132
  • Number of attempts: 3
Changing date formats - 618 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 49
  • Position: #31 / 173
  • Number of attempts: 4
YAML to dotenv - 1293 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 16
  • Position: #28 / 272
  • Number of attempts: 8
Change to ascending order - 473 entries

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

  • Best score: 17
  • Best player score: 78
  • Position: #86 / 112
  • Number of attempts: 2
Fix timezone format - 318 entries

Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`

  • Best score: 15
  • Best player score: 17
  • Position: #56 / 101
  • Number of attempts: 5
Rural Post - 4572 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 10
  • Position: #491 / 1116
  • Number of attempts: 5
Com(m)a Trouble - 3947 entries

Someone was real stupid when placing his commas. Can you fix it?

  • Best score: 12
  • Best player score: 13
  • Position: #364 / 895
  • Number of attempts: 4
Basic renumbering - 5707 entries

Renumbering Basic.

  • Best score: 11
  • Best player score: 11
  • Position: #281 / 1274
  • Number of attempts: 2
bothyhead
Github:

entered into 10 challenges

contributed 0 challenges