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

Lowercase first characters - 186 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: 65
  • Position: #69 / 71
  • Number of attempts: 1
Migrated to Postgres! - 145 entries

Celebration completion of this project. https://github.com/igrigorik/vimgolf/pull/322

  • Best score: 26
  • Best player score: 27
  • Position: #21 / 61
  • Number of attempts: 3
Increment number for every 10 lines - 118 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 50
  • Position: #25 / 36
  • Number of attempts: 2
Python dataclasses - 418 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 31
  • Position: #83 / 118
  • Number of attempts: 2
Count to 100 in word form - 45 entries

Write all the numbers from 1 to 100, using their word forms rather than the digit form. Most of the parts you will need are included in the input file. Use hyphens when appropriate.

  • Best score: 55
  • Best player score: 78
  • Position: #7 / 13
  • Number of attempts: 2
Modernise code - 632 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 53
  • Position: #115 / 147
  • Number of attempts: 1
Satisfy the go linter - 1611 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 23
  • Position: #150 / 331
  • Number of attempts: 3
Data reformat - 219 entries

Reformat this copy-paste data! #csv

  • Best score: 38
  • Best player score: 67
  • Position: #40 / 53
  • Number of attempts: 2
models
Twitter:

entered into 8 challenges

contributed 0 challenges