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

Sort and Tag - 136 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: 48
  • Position: #15 / 35
  • Number of attempts: 6
YAML to dotenv - 291 entries

Convert this YAML config file to a .env file.

  • Best score: 16
  • Best player score: 17
  • Position: #18 / 74
  • Number of attempts: 4
Search different SQL column with similar where clause - 184 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: 27
  • Position: #35 / 48
  • Number of attempts: 4
Rearrange array to single level - 1341 entries

The goal is to flatten the array into a single list and remove any empty elements.

  • Best score: 14
  • Best player score: 25
  • Position: #110 / 216
  • Number of attempts: 4
Count words - 68 entries

Merge duplicates and count each word.

  • Best score: 39
  • Best player score: 51
  • Position: #7 / 19
  • Number of attempts: 4
Victor Pfautz
Github:

entered into 5 challenges

contributed 0 challenges