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: 52
  • Position: #108 / 309
  • Number of attempts: 6
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: 511
  • Position: #126 / 127
  • Number of attempts: 1
YAML to dotenv - 1255 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 30
  • Position: #181 / 266
  • Number of attempts: 1
Search different SQL column with similar where clause - 314 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: 29
  • Position: #53 / 69
  • 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: 32
  • Position: #186 / 272
  • Number of attempts: 4
Swap values - 4661 entries

Well, swap the values...

  • Best score: 11
  • Best player score: 16
  • Position: #1105 / 1282
  • Number of attempts: 1
Ethan Rietz
Github:

entered into 6 challenges

contributed 0 challenges