Played Challenges
Extract argument from function - 2429 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 16
- Position: #566 / 773
- Number of attempts: 1
Search and Replace 0 - 5162 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 20
- Position: #1550 / 1675
- Number of attempts: 1
Python Hello World! Reformatting - 1052 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 46
- Position: #325 / 400
- Number of attempts: 1
Space out the alphabet - 1696 entries
Put 3 spaces between adjacent letters.
- Best score: 15
- Best player score: 21
- Position: #304 / 458
- Number of attempts: 1
Where should I put the Newline? - 912 entries
Help me put the newline.
- Best score: 7
- Best player score: 8
- Position: #420 / 451
- Number of attempts: 1
Mess in revision history - 1238 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 47
- Position: #247 / 260
- Number of attempts: 2
A HAPPY NEW YEAR 2014 ! - 10758 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 15
- Position: #3242 / 3717
- Number of attempts: 2
quotes inside quotes - 3203 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: 17
- Position: #959 / 1094
- Number of attempts: 1
Words in parens - 13054 entries
We should all ace this, right?
- Best score: 13
- Best player score: 17
- Position: #2776 / 3991
- Number of attempts: 1
Saving the hashes(#) - 2116 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: 53
- Position: #479 / 488
- Number of attempts: 2
Let's play some Ivmgolf - 1163 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 13
- Position: #430 / 459
- Number of attempts: 1
Append semicolon after expressions - 1087 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #270 / 426
- Number of attempts: 2
Ugly spreadsheet copy/paste to CSV - 1046 entries
convert an ugly spreadsheet copy/paste into a CSV format.
- Best score: 19
- Best player score: 46
- Position: #142 / 199
- Number of attempts: 1
remove dupes from array - 1377 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 58
- Position: #332 / 341
- Number of attempts: 1
Case preserving word replacement - 477 entries
Half way through my project, my people turned into dogs. Now I have to change everything in my source.
- Best score: 19
- Best player score: 27
- Position: #175 / 186
- Number of attempts: 1
Ruby 1.9 hashes - 1313 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: 23
- Position: #405 / 419
- Number of attempts: 1
Shebangs for all - 2103 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 23
- Position: #475 / 533
- Number of attempts: 5
A Simple One - 1093 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #599 / 681
- Number of attempts: 1
The Cake is a Lie - 1418 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 19
- Position: #531 / 543
- Number of attempts: 1
Make Fancy Header - 1109 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 27
- Position: #332 / 356
- Number of attempts: 1
Change the content of a string - 1803 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 30
- Position: #597 / 656
- Number of attempts: 1
Simple text editing with Vim - 13645 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 49
- Position: #3798 / 3907
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 7694 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 71
- Position: #1796 / 1893
- Number of attempts: 1
VimGolf