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

Many duplicates - 1445 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #103 / 468
  • Number of attempts: 4
2 quick changes and a numbered list - 647 entries

The ascii will not be lost, but rather numbered in 4 digit blocks with leading zeros.

  • Best score: 37
  • Best player score: 42
  • Position: #63 / 154
  • Number of attempts: 5
delete swap - 1786 entries

delete all swap

  • Best score: 5
  • Best player score: 5
  • Position: #57 / 555
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1657 entries

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

  • Best score: 10
  • Best player score: 12
  • Position: #222 / 556
  • Number of attempts: 2
hello-world-vimgolf - 2499 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #194 / 708
  • Number of attempts: 2
Contribute to keyboard mashing - 890 entries

Speak in tongues

  • Best score: 17
  • Best player score: 19
  • Position: #144 / 270
  • Number of attempts: 2
Reordering Lorem Ipsum - 290 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 13
  • Position: #15 / 66
  • Number of attempts: 2
Plotting some variables in python - 1661 entries

4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.

  • Best score: 34
  • Best player score: 50
  • Position: #206 / 348
  • Number of attempts: 1
Lowercase first characters - 487 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: 50
  • Position: #148 / 183
  • Number of attempts: 1
simple replacements - 1753 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 22
  • Position: #172 / 380
  • Number of attempts: 2
Inverting Lines - 1900 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #338 / 511
  • Number of attempts: 1
Henry Chimpden Earwicker
Twitter:

k

entered into 11 challenges

contributed 0 challenges