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: #49 / 753
- Number of attempts: 6
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #315 / 1624
- Number of attempts: 4
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: 33
- Position: #126 / 208
- Number of attempts: 4
Where should I put the Newline? - 881 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #10 / 437
- Number of attempts: 2
Vim tetris - 353 entries
Vim can play tetris too!
- Best score: 21
- Best player score: 22
- Position: #27 / 102
- Number of attempts: 9
Shuffle puzzle - 346 entries
Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.
- Best score: 13
- Best player score: 16
- Position: #72 / 104
- Number of attempts: 3
Going underground.... - 356 entries
Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...
- Best score: 22
- Best player score: 27
- Position: #18 / 128
- Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #338 / 3683
- Number of attempts: 3
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 25
- Position: #241 / 702
- Number of attempts: 7
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: 11
- Position: #245 / 518
- Number of attempts: 4
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: #152 / 1078
- Number of attempts: 4
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1425 / 3963
- Number of attempts: 3
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: 18
- Position: #137 / 304
- Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 420 entries
Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."
- Best score: 8
- Best player score: 10
- Position: #72 / 192
- 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: 9
- Position: #205 / 446
- Number of attempts: 3
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: 26
- Position: #197 / 480
- Number of attempts: 4
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 25
- Position: #349 / 754
- Number of attempts: 1
replacing each line of a block selection - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 23
- Position: #467 / 777
- Number of attempts: 9
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 14
- Position: #479 / 663
- Number of attempts: 1
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #842 / 1748
- Number of attempts: 2
Make it more readable - 2005 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 15
- Position: #276 / 650
- Number of attempts: 3
remove dupes from array - 1358 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: 20
- Position: #135 / 336
- Number of attempts: 3
Numbering a List - 1931 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 19
- Position: #256 / 652
- Number of attempts: 3
Ruby 1.9 hashes - 1244 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: 15
- Position: #275 / 406
- Number of attempts: 3
Shebangs for all - 1999 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: 13
- Position: #198 / 516
- Number of attempts: 5
A Simple One - 1050 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: #383 / 664
- Number of attempts: 2
Reverse Simple Deletion - 847 entries
You did the simple deletion, now reverse it.
- Best score: 11
- Best player score: 12
- Position: #293 / 458
- Number of attempts: 1
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #178 / 527
- Number of attempts: 2
Remember FizzBuzz? - 725 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 58
- Position: #94 / 190
- Number of attempts: 3
Change the content of a string - 1580 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 22
- Position: #133 / 588
- Number of attempts: 1
Sort and add attributes - 1451 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 33
- Position: #180 / 563
- Number of attempts: 2
Whitespace, empty lines and tabs - 3665 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 23
- Position: #351 / 787
- Number of attempts: 3
Simple text editing with Vim - 12811 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1297 / 3694
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 35
- Position: #371 / 1706
- Number of attempts: 5