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

Put a newline after every 10 lines in vim - 813 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #158 / 290
  • Number of attempts: 2
Java to JavaScript - 132 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 99
  • Position: #30 / 37
  • Number of attempts: 3
hello-world-vimgolf - 1382 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #123 / 394
  • Number of attempts: 1
Contribute to keyboard mashing - 572 entries

Speak in tongues

  • Best score: 17
  • Best player score: 22
  • Position: #147 / 176
  • Number of attempts: 1
Plotting some variables in python - 1111 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: 65
  • Position: #200 / 235
  • Number of attempts: 1
Lowercase first characters - 316 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: 61
  • Position: #110 / 116
  • Number of attempts: 1
simple replacements - 1006 entries

The goal is to see the replacement commands in action.

  • Best score: 19
  • Best player score: 32
  • Position: #213 / 227
  • Number of attempts: 1
Inverting Lines - 1260 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #228 / 349
  • Number of attempts: 2
swap number pairs - 1392 entries

Swap the numbers in a bunch of 2-element arrays.

  • Best score: 16
  • Best player score: 32
  • Position: #191 / 275
  • Number of attempts: 2
Python: Def to Lambda - 342 entries

LAMBDA!!!

  • Best score: 19
  • Best player score: 19
  • Position: #54 / 117
  • Number of attempts: 3
Rural Post - 4063 entries

Simple challenge to remove all but the post code on each line

  • Best score: 9
  • Best player score: 13
  • Position: #590 / 1007
  • Number of attempts: 1
Ken
Twitter:

entered into 11 challenges

contributed 0 challenges