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

Turn the months into list items.

  • Best score: 22
  • Best player score: 22
  • Position: #10 / 254
  • Number of attempts: 9
EDN reformat - 1133 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 / 158
  • Number of attempts: 14
Remove line numbers - 694 entries

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

  • Best score: 9
  • Best player score: 21
  • Position: #128 / 189
  • Number of attempts: 2
HS exam question - 1575 entries

Convert the data to a python dictionary

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

Quick and easy

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

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

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

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #218 / 580
  • Number of attempts: 3
Braces or Brackets? - 958 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 - 3589 entries

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

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

Replace the text the most efficient and win!

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

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

  • Best score: 13
  • Best player score: 14
  • Position: #1971 / 3665
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 6866 entries

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

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

entered into 12 challenges

contributed 0 challenges