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) - 1294 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: #155 / 277
  • Number of attempts: 1
Fix the shell script! - 2663 entries

Fix the shell script with the fewest keystrokes!

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

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

  • Best score: 10
  • Best player score: 15
  • Position: #468 / 564
  • Number of attempts: 1
hello-world-vimgolf - 2523 entries

Simple number generation

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

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

  • Best score: 19
  • Best player score: 26
  • Position: #56 / 131
  • Number of attempts: 2
Lowercase first characters - 499 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: #83 / 185
  • Number of attempts: 1
Inverting Lines - 1952 entries

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

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

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

  • Best score: 15
  • Best player score: 23
  • Position: #59 / 191
  • Number of attempts: 1
Simple text editing with Vim - 13419 entries

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

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

entered into 9 challenges

contributed 0 challenges