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

Inverting Lines - 1472 entries

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

  • Best score: 10
  • Best player score: 19
  • Position: #351 / 400
  • Number of attempts: 2
Python dataclasses - 739 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 26
  • Position: #94 / 189
  • Number of attempts: 2
swap number pairs - 1816 entries

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

  • Best score: 16
  • Best player score: 36
  • Position: #259 / 335
  • Number of attempts: 2
Python: Def to Lambda - 396 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #40 / 136
  • Number of attempts: 2
Format the CSS - 109 entries

You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!

  • Best score: 41
  • Best player score: 45
  • Position: #18 / 40
  • Number of attempts: 4
Multiline to Single Line - 554 entries

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

  • Best score: 5
  • Best player score: 5
  • Position: #135 / 249
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 712 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: 21
  • Position: #90 / 159
  • Number of attempts: 1
Yo To Hello - 1069 entries

Simply Turn Yo To Hello

  • Best score: 10
  • Best player score: 10
  • Position: #313 / 491
  • Number of attempts: 1
Get mail address from outlook format - 603 entries

Create a mail list space separated of mail list formatted by outlook

  • Best score: 15
  • Best player score: 22
  • Position: #155 / 189
  • Number of attempts: 1
Roman Matzutt
Twitter:

entered into 9 challenges

contributed 0 challenges