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

Pick and sort servers from mirror list - 347 entries

Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.

  • Best score: 28
  • Best player score: 51
  • Position: #61 / 76
  • Number of attempts: 2
Populate 3D bone names list - 449 entries

Ran into this at work, excited to see how this gets optimized

  • Best score: 21
  • Best player score: 24
  • Position: #43 / 118
  • Number of attempts: 2
Find fix point of cos - 1119 entries

Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.

  • Best score: 14
  • Best player score: 15
  • Position: #163 / 333
  • Number of attempts: 2
Fizzbuzz - 502 entries

type the first 100 lines of the fizzbuzz problem

  • Best score: 47
  • Best player score: 98
  • Position: #125 / 155
  • Number of attempts: 1
2 quick changes and a numbered list - 599 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 61
  • Position: #110 / 145
  • Number of attempts: 3
Fix the shell script! - 2317 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 40
  • Position: #369 / 538
  • Number of attempts: 1
Lowercase first characters - 467 entries

This is the (abridged) input for Day 3 in Advent of Code 2019. The output is a format more suitable for Prolog programming: the two lines of input become two lists of pairs, joined together in a wires functor.

  • Best score: 33
  • Best player score: 67
  • Position: #171 / 175
  • Number of attempts: 1
simple replacements - 1654 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 29
  • Position: #323 / 368
  • Number of attempts: 1
gvnnn
Github:

entered into 8 challenges

contributed 0 challenges