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

A simple everyday task.

  • Best score: 39
  • Best player score: 70
  • Position: #226 / 353
  • Number of attempts: 3
Sort and Tag - 676 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: 74
  • Position: #56 / 140
  • Number of attempts: 2
YAML to dotenv - 1459 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 33
  • Position: #223 / 298
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 256 entries

Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091

  • Best score: 41
  • Best player score: 51
  • Position: #89 / 100
  • Number of attempts: 2
Move list of uuids into a SQL query - 227 entries

Take the list of UUIDs and use them as a filter in the where statement of a SQL query

  • Best score: 57
  • Best player score: 67
  • Position: #41 / 73
  • Number of attempts: 2
Search different SQL column with similar where clause - 322 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: 28
  • Position: #54 / 74
  • Number of attempts: 3
Fix the shell script! - 2663 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 41
  • Position: #436 / 619
  • Number of attempts: 2
Frederik F
Github:

entered into 7 challenges

contributed 0 challenges