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

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

  • Best score: 10
  • Best player score: 13
  • Position: #167 / 399
  • Number of attempts: 1
Wikitext headings to markdown - 709 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 31
  • Position: #104 / 157
  • Number of attempts: 3
hello-world-vimgolf - 1747 entries

Simple number generation

  • Best score: 10
  • Best player score: 10
  • Position: #75 / 503
  • Number of attempts: 6
Solve anagram with ASCII letters - 27 entries

ASCII created by TOIlet command

  • Best score: 48
  • Best player score: 85
  • Position: #8 / 11
  • Number of attempts: 2
Fill in the chess board - 665 entries

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

  • Best score: 19
  • Best player score: 41
  • Position: #92 / 140
  • Number of attempts: 1
Plotting some variables in python - 1264 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: 42
  • Position: #106 / 268
  • Number of attempts: 3
Inverting Lines - 1436 entries

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

  • Best score: 10
  • Best player score: 10
  • Position: #128 / 395
  • Number of attempts: 1
HS Final exam vimgolf - 745 entries

Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.

  • Best score: 21
  • Best player score: 42
  • Position: #172 / 200
  • Number of attempts: 1
Satisfy the go linter - 2031 entries

You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?

  • Best score: 20
  • Best player score: 24
  • Position: #212 / 412
  • Number of attempts: 2
From a Thunderlink to a Markdown link - 711 entries

ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.

  • Best score: 18
  • Best player score: 23
  • Position: #105 / 158
  • Number of attempts: 3
-a-b-c- - 3129 entries

Put hyphens everywhere.

  • Best score: 13
  • Best player score: 16
  • Position: #856 / 1116
  • Number of attempts: 1

Contributed Challenges

Innocent Monster - 128 entries

You have the tools, just create him!

Java to JavaScript - 207 entries

Let convert some simple Java file to JavaScript!

thari.eth
Twitter:

entered into 11 challenges

contributed 2 challenges