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

Transpose a python matrix - 684 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 51
  • Position: #66 / 117
  • Number of attempts: 1
Lowercase first characters - 421 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: 36
  • Position: #55 / 152
  • Number of attempts: 4
Migrated to Postgres! - 268 entries

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

  • Best score: 26
  • Best player score: 30
  • Position: #67 / 107
  • Number of attempts: 3
Inverting Lines - 1562 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #76 / 423
  • Number of attempts: 1
Count to 100 in word form - 54 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: 81
  • Position: #11 / 17
  • Number of attempts: 1
Simple, Practical, and Common - 33124 entries

Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.

  • Best score: 22
  • Best player score: 38
  • Position: #6833 / 7307
  • Number of attempts: 1
One number per line - 18497 entries

Just give me the numbers.

  • Best score: 14
  • Best player score: 29
  • Position: #3554 / 3815
  • Number of attempts: 1
I forgot quotes - 15852 entries

Oops.

  • Best score: 10
  • Best player score: 19
  • Position: #3446 / 4136
  • Number of attempts: 1
czheo
Twitter:

crappy programmer, social outlier, taoist, husband&father

entered into 8 challenges

contributed 0 challenges