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 - 357 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: 41
  • Position: #47 / 77
  • Number of attempts: 1
Find fix point of cos - 1155 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: 14
  • Position: #28 / 348
  • Number of attempts: 4
Paste a column after a column - 2305 entries

This task is very common while using multi-cursor. What is the elegant vim way ?

  • Best score: 14
  • Best player score: 17
  • Position: #198 / 499
  • Number of attempts: 3
Reformat symbols in list - 1476 entries

Saw this in some lecture, easy reformatting using multiple cursor in VS Code

  • Best score: 24
  • Best player score: 30
  • Position: #189 / 326
  • Number of attempts: 5
Many duplicates - 1281 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #244 / 420
  • Number of attempts: 1
Inverting Lines - 1843 entries

A simple challenge to invert all lines, except the first.

  • Best score: 10
  • Best player score: 17
  • Position: #419 / 500
  • Number of attempts: 1
Michael Wiedfellner
Twitter2:

entered into 6 challenges

contributed 0 challenges