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

A simple everyday task.

  • Best score: 38
  • Best player score: 57
  • Position: #160 / 407
  • Number of attempts: 2
Sort and Tag - 708 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: 57
  • Position: #42 / 153
  • Number of attempts: 8
Changing date formats - 734 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #29 / 207
  • Number of attempts: 5
YAML to dotenv - 1600 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #152 / 335
  • Number of attempts: 3
Change to ascending order - 540 entries

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

  • Best score: 17
  • Best player score: 36
  • Position: #39 / 131
  • Number of attempts: 1
Swap columns and transform to CSV format - 474 entries

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

  • Best score: 16
  • Best player score: 17
  • Position: #45 / 171
  • Number of attempts: 4
Change class fields from camel case to snake case - 662 entries

This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513

  • Best score: 18
  • Best player score: 21
  • Position: #66 / 152
  • Number of attempts: 3
Reorganize Pokémon - 871 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #145 / 239
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #2 - 106 entries

Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s

  • Best score: 49
  • Best player score: 69
  • Position: #13 / 28
  • Number of attempts: 3
Word completion - 305 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 22
  • Position: #23 / 81
  • Number of attempts: 3
Rearrange array to single level - 1814 entries

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

  • Best score: 14
  • Best player score: 30
  • Position: #190 / 306
  • Number of attempts: 5
Column wise pasting - 262 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 34
  • Position: #36 / 56
  • Number of attempts: 4
Deleting text - 342 entries

Delete everything except some specific numbers.

  • Best score: 26
  • Best player score: 45
  • Position: #55 / 110
  • Number of attempts: 1
Josh
Github:

entered into 13 challenges

contributed 0 challenges