Played Challenges
Extract argument from function - 2357 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #44 / 753
- Number of attempts: 9
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #321 / 1624
- Number of attempts: 5
Two become one - 713 entries
We have two c arrays and want to make one two dimensional out of it. Can we do that?
- Best score: 25
- Best player score: 26
- Position: #19 / 208
- Number of attempts: 8
Mess in revision history - 1184 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 17
- Position: #17 / 250
- Number of attempts: 8
HTML formatting: vertical alignment for readability - 88 entries
We did this a VimGolf challenge at work and now that we have finished I want to see if you guys can come up with something even better than we could. Our best solution was 44 keystrokes.
- Best score: 32
- Best player score: 33
- Position: #9 / 36
- Number of attempts: 3
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #65 / 702
- Number of attempts: 13
Letter case trickery - 1630 entries
This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.
- Best score: 9
- Best player score: 10
- Position: #112 / 518
- Number of attempts: 7
quotes inside quotes - 3159 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #154 / 1078
- Number of attempts: 3
Words in parens - 12939 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #385 / 3964
- Number of attempts: 7
Hole-in-one - 1018 entries
Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.
- Best score: 15
- Best player score: 16
- Position: #63 / 304
- Number of attempts: 10
Word frequency alignment - 290 entries
You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...
- Best score: 5
- Best player score: 5
- Position: #89 / 161
- Number of attempts: 2
SFD-ROC: vimvimvim - 1606 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 8
- Position: #52 / 446
- Number of attempts: 9
Saving the hashes(#) - 2063 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 20
- Position: #24 / 480
- Number of attempts: 8
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 21
- Position: #28 / 754
- Number of attempts: 6
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 11
- Position: #96 / 663
- Number of attempts: 8
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #300 / 1748
- Number of attempts: 5
Make it more readable - 2005 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 13
- Position: #55 / 650
- Number of attempts: 4
Whitespace, empty lines and tabs - 3670 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 17
- Position: #104 / 788
- Number of attempts: 10
Simple text editing with Vim - 12815 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #275 / 3696
- Number of attempts: 6
Reformat/Refactor a Golfer Class - 6984 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 32
- Position: #104 / 1708
- Number of attempts: 11
Robert Bruce
Twitter: @therealrobru
Misanthrope. No pants. Tied to a tree with a skipping rope.