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

Generate a very basic Python constructor (fixed) - 1093 entries

Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.

  • Best score: 7
  • Best player score: 45
  • Position: #133 / 233
  • Number of attempts: 6
Visual block training - 912 entries

You see the input. You see the output. Go.

  • Best score: 17
  • Best player score: 18
  • Position: #16 / 167
  • Number of attempts: 17
Put a newline after every 10 lines in vim - 1466 entries

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

  • Best score: 10
  • Best player score: 11
  • Position: #120 / 494
  • Number of attempts: 3
hello-world-vimgolf - 2195 entries

Simple number generation

  • Best score: 10
  • Best player score: 19
  • Position: #539 / 625
  • Number of attempts: 1
Contribute to keyboard mashing - 792 entries

Speak in tongues

  • Best score: 17
  • Best player score: 19
  • Position: #127 / 243
  • Number of attempts: 3
Lowercase first characters - 450 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: 58
  • Position: #154 / 166
  • Number of attempts: 1
Migrated to Postgres! - 288 entries

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

  • Best score: 26
  • Best player score: 33
  • Position: #81 / 115
  • Number of attempts: 1
CSV to MD format - 362 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 40
  • Position: #26 / 84
  • Number of attempts: 14
The name of the game - 643 entries

End up with the name of the game.

  • Best score: 11
  • Best player score: 11
  • Position: #265 / 353
  • Number of attempts: 1
Ryan Murphy
Twitter:

entered into 9 challenges

contributed 0 challenges