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

Turn the months into list items.

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

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

  • Best score: 17
  • Best player score: 18
  • Position: #62 / 173
  • Number of attempts: 14
Remove line numbers - 786 entries

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

  • Best score: 8
  • Best player score: 21
  • Position: #142 / 209
  • Number of attempts: 2
HS exam question - 1613 entries

Convert the data to a python dictionary

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

Quick and easy

  • Best score: 7
  • Best player score: 8
  • Position: #277 / 484
  • Number of attempts: 3
Search and Replace 0 - 5159 entries

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

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

This docstring is a complete lie. Fix it.

  • Best score: 22
  • Best player score: 22
  • Position: #218 / 655
  • Number of attempts: 3
Braces or Brackets? - 1201 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 / 362
  • Number of attempts: 10
Whitespace, empty lines and tabs - 4044 entries

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

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

Replace the text the most efficient and win!

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

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

  • Best score: 13
  • Best player score: 14
  • Position: #2025 / 3902
  • Number of attempts: 5
Reformat/Refactor a Golfer Class - 7681 entries

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

  • Best score: 7
  • Best player score: 37
  • Position: #615 / 1889
  • Number of attempts: 7
Ilya Shakirov
Github:

entered into 12 challenges

contributed 0 challenges