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

Innocent Monster - 217 entries

You have the tools, just create him!

  • Best score: 60
  • Best player score: 146
  • Position: #42 / 49
  • Number of attempts: 1
Put a newline after every 10 lines in vim - 1656 entries

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

  • Best score: 10
  • Best player score: 13
  • Position: #270 / 555
  • Number of attempts: 2
Wikitext headings to markdown - 987 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 27
  • Position: #118 / 209
  • Number of attempts: 2
hello-world-vimgolf - 2494 entries

Simple number generation

  • Best score: 10
  • Best player score: 14
  • Position: #516 / 706
  • Number of attempts: 2
CSV to MD format - 413 entries

To convert a CSV list to Markdown list

  • Best score: 36
  • Best player score: 82
  • Position: #53 / 94
  • Number of attempts: 1
Count to 100 in word form - 138 entries

Write all the numbers from 1 to 100, using their word forms rather than the digit form. Most of the parts you will need are included in the input file. Use hyphens when appropriate.

  • Best score: 53
  • Best player score: 89
  • Position: #24 / 29
  • Number of attempts: 3
Put a cross in the square - 225 entries

Put a cross in the square

  • Best score: 20
  • Best player score: 22
  • Position: #34 / 89
  • Number of attempts: 4
Satisfy the go linter - 2374 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: 140
  • Position: #468 / 469
  • Number of attempts: 1
prepend * to every non-blank line - 6304 entries

Prepend an asterisk to every non-blank line in the input file.

  • Best score: 10
  • Best player score: 11
  • Position: #733 / 1536
  • Number of attempts: 5
Christopher Williams
Twitter:

entered into 9 challenges

contributed 0 challenges