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 - 1176 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #200 / 405
  • Number of attempts: 1
Lowercase first characters - 396 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: 64
  • Position: #137 / 143
  • Number of attempts: 2
Migrated to Postgres! - 245 entries

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

  • Best score: 26
  • Best player score: 27
  • Position: #26 / 97
  • Number of attempts: 6
Inverting Lines - 1453 entries

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

  • Best score: 10
  • Best player score: 14
  • Position: #283 / 397
  • Number of attempts: 9
Making 3 line function a one liner. - 198 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 4
  • Position: #39 / 130
  • Number of attempts: 1
Rural Post - 4166 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 13
  • Position: #600 / 1031
  • Number of attempts: 3
Liu ko
Twitter:

Hey

entered into 6 challenges

contributed 0 challenges