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: 70
  • Position: #255 / 407
  • Number of attempts: 3
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: 74
  • Position: #61 / 153
  • Number of attempts: 2
YAML to dotenv - 1600 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 33
  • Position: #249 / 335
  • Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 294 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: #100 / 116
  • Number of attempts: 2
Move list of uuids into a SQL query - 245 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: #42 / 82
  • Number of attempts: 2
Search different SQL column with similar where clause - 360 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: #58 / 85
  • Number of attempts: 3
Fix the shell script! - 2681 entries

Fix the shell script with the fewest keystrokes!

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

entered into 7 challenges

contributed 0 challenges