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

A simple everyday task.

  • Best score: 39
  • Best player score: 57
  • Position: #38 / 81
  • Number of attempts: 2
Sort and Tag - 316 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: #26 / 74
  • Number of attempts: 8
Changing date formats - 357 entries

Change the date format to Y/M/D.

  • Best score: 37
  • Best player score: 45
  • Position: #16 / 114
  • Number of attempts: 5
YAML to dotenv - 717 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 23
  • Position: #74 / 172
  • Number of attempts: 3
Change to ascending order - 303 entries

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

  • Best score: 17
  • Best player score: 36
  • Position: #24 / 80
  • Number of attempts: 1
Swap columns and transform to CSV format - 259 entries

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

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

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

  • Best score: 18
  • Best player score: 21
  • Position: #43 / 100
  • Number of attempts: 3
Reorganize Pokémon - 532 entries

Change the format of the each line and sort alphabetically.

  • Best score: 18
  • Best player score: 22
  • Position: #102 / 146
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #2 - 48 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: #8 / 12
  • Number of attempts: 3
Word completion - 228 entries

Try to complete these options within 20 keystrokes.

  • Best score: 20
  • Best player score: 22
  • Position: #21 / 61
  • Number of attempts: 3
Rearrange array to single level - 1461 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: #151 / 239
  • Number of attempts: 5
Column wise pasting - 211 entries

Make a table from 3 columns

  • Best score: 17
  • Best player score: 34
  • Position: #29 / 45
  • Number of attempts: 4
Deleting text - 277 entries

Delete everything except some specific numbers.

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

entered into 13 challenges

contributed 0 challenges