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

expand a list comprehension (python) - 240 entries

Please show your way to convert a list comprehension in python to an ordinary for-loop expression!

  • Best score: 42
  • Best player score: 141
  • Number of attempts: 1
Reformat/Refactor a Golfer Class - 5356 entries

A simple case of removing unneeded code and fixing broken indentation.

  • Best score: 32
  • Best player score: 68
  • Number of attempts: 15
Acute accents - 24 entries

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

  • Best score: 18
  • Best player score: 57
  • Number of attempts: 1
Simple text editing with Vim - 9925 entries

Make the pairs of lines match up by making each second line same as first

  • Best score: 13
  • Best player score: 14
  • Number of attempts: 6
Words in parens - 10364 entries

We should all ace this, right?

  • Best score: 14
  • Best player score: 28
  • Number of attempts: 1
Stairstep digits - 202 entries

Remove the evens. Double the odds.

  • Best score: 9
  • Best player score: 23
  • Number of attempts: 1
I forgot quotes - 10170 entries

Oops.

  • Best score: 10
  • Best player score: 52
  • Number of attempts: 1

Contributed Challenges

Reformat/Refactor a Golfer Class - 5356 entries

A simple case of removing unneeded code and fixing broken indentation.

Simple text editing with Vim - 9925 entries

Make the pairs of lines match up by making each second line same as first

Whitespace, empty lines and tabs - 2508 entries

Convert tabs to spaces, strip empty lines and trailing whitespace.

Ilya Grigorik
Twitter:

Web performance engineer at Google; co-chair of W3C Webperf WG. In short, an internet plumber.

entered into 7 challenges

contributed 3 challenges