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) - 544 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: #69 / 126
  • Number of attempts: 1
Fix the shell script! - 984 entries

Fix the shell script with the fewest keystrokes!

  • Best score: 26
  • Best player score: 32
  • Position: #125 / 252
  • Number of attempts: 2
Put a newline after every 10 lines in vim - 942 entries

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

  • Best score: 10
  • Best player score: 15
  • Position: #283 / 332
  • Number of attempts: 1
hello-world-vimgolf - 1523 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #182 / 436
  • Number of attempts: 4
Learn to ask for :help - 397 entries

Learn to use the help to reduce your strokes...

  • Best score: 19
  • Best player score: 26
  • Position: #43 / 90
  • Number of attempts: 2
Lowercase first characters - 357 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: 37
  • Position: #57 / 127
  • Number of attempts: 1
Inverting Lines - 1296 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #157 / 363
  • Number of attempts: 2
Hatsuyume - 412 entries

http://en.wikipedia.org/wiki/Hatsuyume

  • Best score: 16
  • Best player score: 23
  • Position: #39 / 165
  • Number of attempts: 1
Simple text editing with Vim - 11624 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Position: #1862 / 3410
  • Number of attempts: 1
Tim
Twitter:

entered into 9 challenges

contributed 0 challenges