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 - 676 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: 61
  • Position: #50 / 140
  • Number of attempts: 6
Morse - 178 entries

Translate Morse code to Text

  • Best score: 31
  • Best player score: 63
  • Position: #20 / 36
  • Number of attempts: 1
Quicksort - 2095 entries

We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.

  • Best score: 6
  • Best player score: 24
  • Position: #253 / 465
  • Number of attempts: 2
Populate 3D bone names list - 652 entries

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

  • Best score: 21
  • Best player score: 29
  • Position: #91 / 168
  • Number of attempts: 1
Find fix point of cos - 1468 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: #255 / 431
  • Number of attempts: 1
Paste a column after a column - 2662 entries

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

  • Best score: 14
  • Best player score: 18
  • Position: #281 / 576
  • Number of attempts: 2
Hogwarts Email Sorting - 948 entries

Given a list of emails, get the students full name and their associated house.

  • Best score: 20
  • Best player score: 21
  • Position: #110 / 268
  • Number of attempts: 3
Words in parens - 13005 entries

We should all ace this, right?

  • Best score: 13
  • Best player score: 15
  • Position: #1881 / 3979
  • Number of attempts: 3
Word frequency alignment - 296 entries

You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...

  • Best score: 5
  • Best player score: 5
  • Position: #127 / 163
  • Number of attempts: 4
Fanteria
Github:

entered into 9 challenges

contributed 0 challenges