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) - 1277 entries

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

  • Best score: 29
  • Best player score: 45
  • Position: #152 / 274
  • Number of attempts: 6
Visual block training - 1089 entries

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

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

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

  • Best score: 10
  • Best player score: 11
  • Position: #127 / 559
  • Number of attempts: 3
hello-world-vimgolf - 2506 entries

Simple number generation

  • Best score: 10
  • Best player score: 19
  • Position: #622 / 713
  • Number of attempts: 1
Contribute to keyboard mashing - 898 entries

Speak in tongues

  • Best score: 17
  • Best player score: 19
  • Position: #143 / 272
  • Number of attempts: 3
Lowercase first characters - 490 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: #167 / 184
  • Number of attempts: 1
Migrated to Postgres! - 338 entries

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

  • Best score: 26
  • Best player score: 33
  • Position: #92 / 133
  • Number of attempts: 1
CSV to MD format - 420 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 40
  • Position: #28 / 95
  • Number of attempts: 14
The name of the game - 678 entries

End up with the name of the game.

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

entered into 9 challenges

contributed 0 challenges