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

Plotting some variables in python - 569 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 66
  • Position: #98 / 115
  • Number of attempts: 1
Lowercase first characters - 185 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: 53
  • Position: #64 / 70
  • Number of attempts: 1
simple replacements - 660 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 26
  • Position: #124 / 155
  • Number of attempts: 1
Inverting Lines - 964 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #102 / 264
  • Number of attempts: 2
Generate a very basic Python constructor - 172 entries

I actually needed to do this myself, so I look forward to learning how.

  • Best score: 38
  • Best player score: 66
  • Position: #43 / 47
  • Number of attempts: 2
Python dataclasses - 418 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #57 / 118
  • Number of attempts: 2
Modernise code - 632 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 43
  • Position: #78 / 147
  • Number of attempts: 2
swap number pairs - 1254 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 34
  • Position: #176 / 237
  • Number of attempts: 2
Extend shell script - 64 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 78
  • Position: #22 / 25
  • Number of attempts: 1
Python: Def to Lambda - 220 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #74 / 79
  • Number of attempts: 1
Multiline to Single Line - 374 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 5
  • Position: #146 / 177
  • Number of attempts: 2
From a Thunderlink to a Markdown link - 642 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 18
  • Position: #47 / 143
  • Number of attempts: 2
Fran├žois
Twitter:

entered into 12 challenges

contributed 0 challenges