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]

26785 active golfers, 308962 entries, 462 challenges

Open VimGolf challenges

Refactor to Helpers - 45 entries

This Rails partial is almost all template escapes. Put it into a helper, and refactor each case to methods so we can build out the controls for each. (I've converted to tabs - fighting with Vimgolf's default config shouldn't be part of the challenge.)

Acute accents - 28 entries

Featuring all 17 lowercase letters with an acute accent digraph. Find a way to automate the digraphs.

50 factorials mod 97 - 26 entries

List 1! to 50!, but give your answer mod 97.

citizen_hacks_2019_part4 - 2 entries

For the Citizen Hacks 2019 Vim competition

citizen_hacks_2019_part2 - 2 entries

For the Citizen Hacks 2019 Vim competition

199 Fibonacci Numbers - 35 entries

Generate 199 Fibonacci Numbers using, if you like, the function S(x,y), a vimscript to sum two big numbers in reverse order.

Config Sections - 26 entries

Section me!

Lenny Spiral - 10 entries

Make one lenny into an infinite army of lennys.

Convert pasted text into Markdown - 17 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.

Forgot to follow the naming convention... - 19 entries

Rename everything like MY_VAR_SOMETHING to MyVarSomething.

Conway sequence - 21 entries

Generate the the first fifteen numbers. See here for more information:

Splits long lines in more readable ones - 5 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.

VimGolf Chatter