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

Note that there are 2^6-1 characters.

  • Best score: 21
  • Best player score: 33
  • Position: #60 / 76
  • Number of attempts: 1
replacing each line of a block selection - 3050 entries

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

  • Best score: 18
  • Best player score: 27
  • Position: #568 / 787
  • Number of attempts: 1
The meaning - 581 entries

Numbers are fun!

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

Insert blank lines to make it more organized and readable

  • Best score: 13
  • Best player score: 16
  • Position: #327 / 657
  • Number of attempts: 1
Rotating Philosophers Problem - 420 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: #46 / 168
  • Number of attempts: 6
HTML to Haml - 905 entries

Help convert this HTML page to Haml.

  • Best score: 23
  • Best player score: 42
  • Position: #130 / 207
  • Number of attempts: 1
expand a list comprehension (python) - 348 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: #28 / 111
  • Number of attempts: 4
Reformat long lines - 377 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 / 139
  • Number of attempts: 2
Generate English Alphabets - 524 entries

Start with a, get up to z.

  • Best score: 19
  • Best player score: 26
  • Position: #152 / 214
  • Number of attempts: 2
Numbering a List - 1944 entries

Pretty simple, number the list.

  • Best score: 13
  • Best player score: 19
  • Position: #163 / 659
  • Number of attempts: 4
Ruby 1.9 hashes - 1293 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 / 417
  • Number of attempts: 6
Reverse and count - 489 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: #87 / 180
  • Number of attempts: 1
Reverse Simple Deletion - 870 entries

You did the simple deletion, now reverse it.

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

entered into 13 challenges

contributed 0 challenges