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

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

  • Best score: 10
  • Best player score: 20
  • Position: #312 / 332
  • Number of attempts: 1
Wikitext headings to markdown - 597 entries

Convert the wikitext headings to markdown.

  • Best score: 20
  • Best player score: 66
  • Position: #118 / 135
  • Number of attempts: 1
hello-world-vimgolf - 1533 entries

Simple number generation

  • Best score: 10
  • Best player score: 19
  • Position: #382 / 437
  • Number of attempts: 1
Lowercase first characters - 359 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: #120 / 128
  • Number of attempts: 1
Making 3 line function a one liner. - 163 entries

Simple challenge for frequent action while programming.

  • Best score: 4
  • Best player score: 6
  • Position: #102 / 106
  • Number of attempts: 1
Modernise code - 827 entries

Modernise and clean up some C++ code.

  • Best score: 34
  • Best player score: 79
  • Position: #182 / 191
  • Number of attempts: 1
Multiline to Single Line - 522 entries

Convert a multiline, indented file to a single line with no whitespace

  • Best score: 5
  • Best player score: 6
  • Position: #208 / 235
  • Number of attempts: 1
From a Thunderlink to a Markdown link - 702 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: 28
  • Position: #132 / 155
  • Number of attempts: 1
rakshith 🦄
Twitter:

autodidact, he/him, opinions are my own, built https://t.co/DJxBSbJWGg, (https://t.co/rFLkv4KtSL) for other projects

entered into 8 challenges

contributed 0 challenges