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

Recursively Palindrome - 230 entries

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 33
  • Position: #54 / 69
  • Number of attempts: 1
replacing each line of a block selection - 2751 entries

replace each line's ../assets/js with /javascripts

  • Best score: 18
  • Best player score: 27
  • Position: #528 / 726
  • Number of attempts: 1
The meaning - 517 entries

Numbers are fun!

  • Best score: 5
  • Best player score: 5
  • Position: #13 / 332
  • Number of attempts: 1
Make it more readable - 1860 entries

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #298 / 613
  • Number of attempts: 1
Rotating Philosophers Problem - 373 entries

Can you help the philosophers find a good place to sit before they get five forks and spaghetti?

  • Best score: 29
  • Best player score: 30
  • Position: #41 / 157
  • Number of attempts: 6
HTML to Haml - 778 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 42
  • Position: #120 / 193
  • Number of attempts: 1
expand a list comprehension (python) - 275 entries

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

  • Best score: 42
  • Best player score: 44
  • Position: #23 / 102
  • Number of attempts: 4
Reformat long lines - 320 entries

Rearrange this ruby method call to put each parameter on its own line. Could become a useful macro.

  • Best score: 15
  • Best player score: 15
  • Position: #2 / 125
  • Number of attempts: 2
Generate English Alphabets - 427 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 26
  • Position: #142 / 190
  • Number of attempts: 2
Numbering a List - 1797 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #129 / 614
  • Number of attempts: 4
Ruby 1.9 hashes - 1123 entries

Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!

  • Best score: 12
  • Best player score: 12
  • Position: #14 / 374
  • Number of attempts: 6
Reverse and count - 403 entries

Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.

  • Best score: 18
  • Best player score: 25
  • Position: #67 / 153
  • Number of attempts: 1
Reverse Simple Deletion - 740 entries

You did the simple deletion, now reverse it.

  • Best score: 11
  • Best player score: 12
  • Position: #169 / 419
  • Number of attempts: 1
MichaƂ Taszycki
Twitter:

entered into 13 challenges

contributed 0 challenges