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

months to html list items - 916 entries

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #10 / 242
  • Number of attempts: 9
EDN reformat - 1102 entries

The goal is to make the code more readable and concise while maintaining its functionality.

  • Best score: 17
  • Best player score: 18
  • Position: #60 / 154
  • Number of attempts: 14
Remove line numbers - 671 entries

From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.

  • Best score: 10
  • Best player score: 21
  • Position: #123 / 182
  • Number of attempts: 2
HS exam question - 1539 entries

Convert the data to a python dictionary

  • Best score: 47
  • Best player score: 47
  • Position: #18 / 410
  • Number of attempts: 18
Many duplicates - 1420 entries

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #274 / 458
  • Number of attempts: 3
Search and Replace 0 - 4951 entries

Replace every instance of 'aaa' with 'xaaax'.

  • Best score: 12
  • Best player score: 12
  • Position: #721 / 1614
  • Number of attempts: 5
Change the content of a string - 1536 entries

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #218 / 576
  • Number of attempts: 3
Braces or Brackets? - 957 entries

Someone forgot whether to use braces or brackets and you have to clean up their code!

  • Best score: 34
  • Best player score: 34
  • Position: #34 / 306
  • Number of attempts: 10
Whitespace, empty lines and tabs - 3559 entries

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

  • Best score: 16
  • Best player score: 16
  • Position: #35 / 768
  • Number of attempts: 8
Flodder-challenge - 1219 entries

Replace the text the most efficient and win!

  • Best score: 27
  • Best player score: 27
  • Position: #30 / 327
  • Number of attempts: 12
Simple text editing with Vim - 12616 entries

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

  • Best score: 13
  • Best player score: 14
  • Position: #1967 / 3650
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6821 entries

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

  • Best score: 28
  • Best player score: 37
  • Position: #575 / 1671
  • Number of attempts: 4
Ilya Shakirov
Github:

entered into 12 challenges

contributed 0 challenges