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

A simple everyday task.

  • Best score: 39
  • Best player score: 62
  • Position: #159 / 293
  • Number of attempts: 1
Changing date formats - 598 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 88
  • Position: #100 / 165
  • Number of attempts: 2
YAML to dotenv - 1184 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 22
  • Position: #104 / 258
  • Number of attempts: 5
Swap columns and transform to CSV format - 375 entries

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

  • Best score: 16
  • Best player score: 25
  • Position: #115 / 139
  • Number of attempts: 2
Generate an entry for each month - 331 entries

The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years

  • Best score: 27
  • Best player score: 57
  • Position: #53 / 80
  • Number of attempts: 1
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: #45 / 101
  • Number of attempts: 2
Search different SQL column with similar where clause - 292 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

  • Best score: 22
  • Best player score: 27
  • Position: #40 / 67
  • Number of attempts: 3
Remove adjacent duplicates - 614 entries

Try to find a way to remove adjacent duplicate letters.

  • Best score: 19
  • Best player score: 36
  • Position: #108 / 159
  • Number of attempts: 3
Rearrange array to single level - 1620 entries

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

  • Best score: 14
  • Best player score: 26
  • Position: #140 / 270
  • Number of attempts: 2
Rearrange array to one line - 750 entries

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

  • Best score: 13
  • Best player score: 20
  • Position: #89 / 181
  • Number of attempts: 2
Copy punctuation - 645 entries

I want to copy the last line’s brackets, quotes, and commas to each line. How?

  • Best score: 19
  • Best player score: 30
  • Position: #53 / 157
  • Number of attempts: 4
New teacher - 1405 entries

Update the details of the new CS teacher.

  • Best score: 19
  • Best player score: 25
  • Position: #133 / 296
  • Number of attempts: 5

Contributed Challenges

Search different SQL column with similar where clause - 292 entries

Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.

Stoyan Dimov
Github:

entered into 12 challenges

contributed 1 challenges