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

Put a newline after every 10 lines in vim - 1163 entries

Goal is to put a newline after every 10 lines in vim.

  • Best score: 10
  • Best player score: 14
  • Position: #315 / 401
  • Number of attempts: 1
Wikitext headings to markdown - 709 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 28
  • Position: #92 / 157
  • Number of attempts: 1
hello-world-vimgolf - 1758 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #386 / 505
  • Number of attempts: 3
Plotting some variables in python - 1264 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: #232 / 268
  • Number of attempts: 1
Lowercase first characters - 387 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: #125 / 142
  • Number of attempts: 1
simple replacements - 1177 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 26
  • Position: #205 / 262
  • Number of attempts: 1
Inverting Lines - 1436 entries

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

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

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

  • Best score: 38
  • Best player score: 66
  • Position: #63 / 81
  • Number of attempts: 2
Python dataclasses - 710 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 24
  • Position: #85 / 183
  • Number of attempts: 2
Modernise code - 983 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 43
  • Position: #113 / 223
  • Number of attempts: 2
swap number pairs - 1664 entries

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

  • Best score: 16
  • Best player score: 34
  • Position: #232 / 311
  • Number of attempts: 2
Extend shell script - 88 entries

Just add some more stuff

  • Best score: 37
  • Best player score: 78
  • Position: #31 / 36
  • Number of attempts: 1
Python: Def to Lambda - 392 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 24
  • Position: #121 / 135
  • Number of attempts: 1
Multiline to Single Line - 552 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #146 / 248
  • Number of attempts: 2
From a Thunderlink to a Markdown link - 711 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 / 158
  • Number of attempts: 2
Fran├žois
Twitter:

entered into 15 challenges

contributed 0 challenges