Played Challenges
Simple, Practical, and Common - 34033 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 30
- Position: #5060 / 7519
- Number of attempts: 2
Search and Replace 0 - 5167 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 16
- Position: #1224 / 1677
- Number of attempts: 1
Two become one - 739 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: 33
- Position: #128 / 213
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10758 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2675 / 3717
- Number of attempts: 1
attr_aligner - 3568 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 34
- Position: #566 / 711
- Number of attempts: 1
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: #826 / 1094
- Number of attempts: 1
Words in parens - 13058 entries
We should all ace this, right?
- Best score: 13
- Best player score: 18
- Position: #2854 / 3993
- Number of attempts: 2
Delete unwanted lines - 451 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #128 / 237
- Number of attempts: 1
Minimalist Limerick - 540 entries
Reproduce this lovely poem.
- Best score: 30
- Best player score: 36
- Position: #96 / 178
- 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: 30
- Position: #390 / 488
- Number of attempts: 1
Vertical Limit - 2641 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 26
- Position: #472 / 780
- Number of attempts: 2
replacing each line of a block selection - 3069 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 27
- Position: #596 / 790
- Number of attempts: 2
Switch function arguments - 2237 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 13
- Position: #409 / 687
- Number of attempts: 2
Append semicolon after expressions - 1088 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 13
- Position: #332 / 427
- Number of attempts: 1
switch variable - 5131 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 17
- Position: #1629 / 1766
- Number of attempts: 1
remove dupes from array - 1379 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: 27
- Position: #280 / 342
- Number of attempts: 1
Shebangs for all - 2105 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: 16
- Position: #330 / 534
- Number of attempts: 1
The Cake is a Lie - 1419 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 10
- Position: #363 / 544
- Number of attempts: 2
Sort and add attributes - 1601 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 34
- Position: #384 / 619
- Number of attempts: 1
Simple text editing with Vim - 13667 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 15
- Position: #2191 / 3914
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 7723 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 44
- Position: #1188 / 1897
- Number of attempts: 1
Solar Powered Robot
Twitter: @moskrin
Husband. Father. Folder of fitted sheets. Perpetually tired. Often annoyed. Generally impatient. Manual retweeter of tweets about manual retweeting.
VimGolf