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 - 812 entries

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

  • Best score: 10
  • Best player score: 155
  • Position: #289 / 289
  • Number of attempts: 1
Java to JavaScript - 132 entries

Let convert some simple Java file to JavaScript!

  • Best score: 59
  • Best player score: 200
  • Position: #36 / 37
  • Number of attempts: 1
Wikitext headings to markdown - 518 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 72
  • Position: #109 / 121
  • Number of attempts: 1
hello-world-vimgolf - 1380 entries

Simple number generation

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

Speak in tongues

  • Best score: 17
  • Best player score: 30
  • Position: #173 / 176
  • Number of attempts: 1
Reordering Lorem Ipsum - 178 entries

Who even sorted this?

  • Best score: 13
  • Best player score: 153
  • Position: #41 / 42
  • Number of attempts: 1
Fill in the chess board - 465 entries

Fill in the name of each square using its file (a-h) and rank (1-8).

  • Best score: 19
  • Best player score: 444
  • Position: #103 / 103
  • 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: 129
  • Position: #231 / 235
  • Number of attempts: 1
Transpose a python matrix - 515 entries

Rotate the matrix in 90 degrees.

  • Best score: 23
  • Best player score: 100
  • Position: #95 / 101
  • Number of attempts: 1
Create a diamond comment - 215 entries

Encapsulate the text in a diamond pattern.

  • Best score: 27
  • Best player score: 291
  • Position: #51 / 52
  • Number of attempts: 1
Lowercase first characters - 315 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: 53
  • Position: #102 / 115
  • Number of attempts: 1
Make list of numbers from 1 to 30 more compact, but more confusing - 75 entries

Change the naming logic of numbers to end up with less lines.

  • Best score: 75
  • Best player score: 235
  • Position: #27 / 28
  • Number of attempts: 1
Write Hello World in the 'i use arch btw' -programming language - 20 entries

> "I use Arch btw" is an esoteric programming language based on Brainfuck in which the Brainfuck commands have been replaced with the following keywords: i, use, arch, linux, btw, by, the, way. https://github.com/OverMighty/i-use-arch-btw

  • Best score: 162
  • Best player score: 691
  • Position: #9 / 10
  • Number of attempts: 1
Increment number for every 10 lines - 151 entries

The file consists of 2 columns (code and percentage). We need to add 2 more columns with increasing number for 4th column (Xcols) and increment 3rd column (Ycols) only for every 10 lines with reset of 4th column

  • Best score: 25
  • Best player score: 78
  • Position: #39 / 44
  • Number of attempts: 2
Inverting Lines - 1258 entries

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

  • Best score: 10
  • Best player score: 56
  • Position: #348 / 348
  • Number of attempts: 1
Python dataclasses - 629 entries

Simple challenge to extract fields from a Python class

  • Best score: 19
  • Best player score: 40
  • Position: #150 / 164
  • Number of attempts: 1
oleg
Twitter:

entered into 16 challenges

contributed 0 challenges