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

A simple everyday task.

  • Best score: 39
  • Best player score: 57
  • Position: #131 / 309
  • Number of attempts: 2
Sort and Tag - 622 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: #38 / 127
  • Number of attempts: 8
Changing date formats - 615 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #25 / 170
  • Number of attempts: 5
YAML to dotenv - 1255 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #120 / 266
  • Number of attempts: 3
Change to ascending order - 450 entries

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

  • Best score: 17
  • Best player score: 36
  • Position: #35 / 110
  • Number of attempts: 1
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: #45 / 144
  • Number of attempts: 4
Change class fields from camel case to snake case - 526 entries

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

  • Best score: 18
  • Best player score: 21
  • Position: #55 / 120
  • Number of attempts: 3
Reorganize Pokémon - 696 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #126 / 191
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #2 - 84 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: #11 / 21
  • Number of attempts: 3
Word completion - 279 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 22
  • Position: #23 / 72
  • Number of attempts: 3
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: 30
  • Position: #170 / 272
  • Number of attempts: 5
Column wise pasting - 254 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 34
  • Position: #33 / 52
  • Number of attempts: 4
Deleting text - 325 entries

Delete everything except some specific numbers.

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

entered into 13 challenges

contributed 0 challenges