Played Challenges
prepend * to every non-blank line - 6353 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 35
- Position: #1521 / 1549
- Number of attempts: 1
Add semicolons - 10887 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 14
- Position: #2156 / 3074
- Number of attempts: 3
Extract argument from function - 2364 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 17
- Position: #576 / 755
- Number of attempts: 1
Search and Replace 0 - 5007 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #333 / 1631
- Number of attempts: 7
Neither Fizz nor Buzz - 253 entries
Not your regular increment macro! The gaps are tricky.
- Best score: 13
- Best player score: 24
- Position: #92 / 103
- Number of attempts: 2
Do you demand a shrubbery? - 1158 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 32
- Position: #232 / 300
- Number of attempts: 1
Where should I put the Newline? - 881 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #80 / 437
- Number of attempts: 2
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: 19
- Position: #97 / 104
- Number of attempts: 2
attr_aligner - 3522 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 36
- Position: #597 / 703
- Number of attempts: 1
quotes inside quotes - 3165 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: #159 / 1079
- Number of attempts: 4
Words in parens - 12967 entries
We should all ace this, right?
- Best score: 13
- Best player score: 25
- Position: #3770 / 3969
- Number of attempts: 1
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: 31
- Position: #410 / 480
- Number of attempts: 1
Simple text editing with Vim - 13013 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 17
- Position: #2459 / 3744
- Number of attempts: 2