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]

30132 active golfers, 367965 entries, 507 challenges

Open VimGolf challenges

No naked if allowed! - 23 entries

House style forbids naked condition statements, comments should start with a space character and be on their own line. Good luck!

citizen_hacks_2019_part4 - 6 entries

For the Citizen Hacks 2019 Vim competition

Convert pasted text into Markdown - 20 entries

I often need to copy/paste text into Markdown files. The challenge here is to wrap the lines in a way that prefers breaks after periods, commas, or other logical demarcations. There should be no spaces at the beginning of a line.

Conway sequence - 22 entries

Generate the the first fifteen numbers. See here for more information: http://en.wikipedia.org/wiki/Look-and-say_sequence

Lenny Spiral - 11 entries

Make one lenny into an infinite army of lennys.

Splits long lines in more readable ones - 10 entries

Those tests have too long lines. We have to split the to have more readable ones. This is based on a real project with Ruby and RSpec.

Back to the Future - 3 entries

We can't just time-travel around without first making sure our code is pretty and columns are aligned. And keeping lines with at most 80 characters should help if we ever need to review the code while we're stuck in the past. This is my first challenge. I tried being creative and even did a bit of research, so I hope you enjoy it.

VimGolf Chatter