Played Challenges
Simple, Practical, and Common - 32953 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: 23
- Position: #2456 / 7275
- Number of attempts: 4
One number per line - 18395 entries
Just give me the numbers.
- Best score: 14
- Best player score: 17
- Position: #1060 / 3793
- Number of attempts: 3
Split line with dots - 2103 entries
This line is too long, split it.
- Best score: 15
- Best player score: 16
- Position: #192 / 623
- Number of attempts: 4
Extract argument from function - 2218 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 14
- Position: #278 / 729
- Number of attempts: 2
Search and Replace 0 - 4676 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 13
- Position: #766 / 1549
- Number of attempts: 4
Just the middle - 11141 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #2192 / 4114
- Number of attempts: 2
Wrap text in quotes - 340 entries
All the blocks of text should be wrapped in quotation marks.
- Best score: 16
- Best player score: 17
- Position: #59 / 115
- Number of attempts: 1
Gray area - 702 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 12
- Position: #36 / 260
- Number of attempts: 4
Do you demand a shrubbery? - 1107 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 32
- Position: #222 / 292
- Number of attempts: 1
Two become one - 703 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: 28
- Position: #60 / 202
- Number of attempts: 2
Where should I put the Newline? - 845 entries
Help me put the newline.
- Best score: 7
- Best player score: 8
- Position: #261 / 422
- Number of attempts: 1
Mess in revision history - 1143 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 21
- Position: #99 / 242
- Number of attempts: 2
Shuffle puzzle - 307 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: 14
- Position: #29 / 100
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10538 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1798 / 3638
- Number of attempts: 1
attr_aligner - 3402 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #67 / 685
- Number of attempts: 10
Letter case trickery - 1553 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: #243 / 500
- Number of attempts: 3
quotes inside quotes - 3030 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: 15
- Position: #412 / 1045
- Number of attempts: 3
Words in parens - 12736 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1340 / 3919
- Number of attempts: 7
Saving the hashes(#) - 1966 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: 21
- Position: #97 / 467
- Number of attempts: 6
Vertical Limit - 2370 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 22
- Position: #140 / 718
- Number of attempts: 5
replacing each line of a block selection - 2800 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 19
- Position: #160 / 735
- Number of attempts: 6
Switch function arguments - 1982 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #252 / 627
- Number of attempts: 2
switch variable - 4944 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #304 / 1708
- Number of attempts: 4
Simple text editing with Vim - 11657 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1253 / 3418
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 6033 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 33
- Position: #239 / 1486
- Number of attempts: 5