Played Challenges
Just the middle - 11454 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #2023 / 4197
- Number of attempts: 3
O Christmas Tree - 109 entries
Design a macro that makes trees grow (or ASCII triangles, if that's too hard).
- Best score: 22
- Best player score: 30
- Position: #27 / 43
- Number of attempts: 1
I forgot quotes - 15983 entries
Oops.
- Best score: 10
- Best player score: 15
- Position: #2116 / 4180
- Number of attempts: 4
Do you demand a shrubbery? - 1158 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 32
- Position: #221 / 300
- Number of attempts: 1
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: 31
- Position: #95 / 208
- Number of attempts: 5
Vim tetris - 353 entries
Vim can play tetris too!
- Best score: 21
- Best player score: 23
- Position: #30 / 102
- Number of attempts: 7
Five Pillars - 63 entries
Arrange all words in a table with 5 columns. The minimal space between words in columns is 2 spaces. Columns do have varying width.
- Best score: 41
- Best player score: 69
- Position: #16 / 24
- Number of attempts: 3
Piphilology - 144 entries
Piphilology comprises the creation and use of mnemonic techniques to remember a span of digits of the mathematical constant π. http://en.wikipedia.org/wiki/Piphilology
- Best score: 28
- Best player score: 38
- Position: #23 / 52
- Number of attempts: 1
Mess in revision history - 1184 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 23
- Position: #125 / 250
- Number of attempts: 7
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: 14
- Position: #32 / 104
- Number of attempts: 6
Carriage return - 43 entries
I have some raw data from terminal output which uses carriege return for formatting. Carriage return sets the pointer to the first character on the line, and subsequent characters will overwrite what was there before. The challange is to simulate the terminal behaviour in vim. I'm kind of unsure if I should have skipped lines 9 and 15, since there might be some interesting solutions which are not that generic. Happy Golfing!
- Best score: 22
- Best player score: 22
- Position: #8 / 21
- Number of attempts: 2
Write Setters and Getters for PHP - 88 entries
Just simple automation of writing Setters and Getters like Doctrine might use.
- Best score: 102
- Best player score: 122
- Position: #10 / 33
- Number of attempts: 5
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: 34
- Position: #101 / 128
- Number of attempts: 3
Split the words - 368 entries
Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.
- Best score: 18
- Best player score: 36
- Position: #58 / 111
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 14
- Position: #2627 / 3683
- Number of attempts: 1
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 33
- Position: #517 / 702
- Number of attempts: 1
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: #228 / 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: 16
- Position: #568 / 1078
- Number of attempts: 2
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #283 / 3963
- Number of attempts: 1
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: 16
- Position: #54 / 304
- Number of attempts: 5
abcd > a b c d - 291 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #121 / 222
- 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: 21
- Position: #92 / 480
- Number of attempts: 9
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #796 / 1748
- Number of attempts: 3
Fix the Haiku - 308 entries
Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.
- Best score: 28
- Best player score: 38
- Position: #46 / 113
- Number of attempts: 4
Make Fancy Header - 1052 entries
Make the header text stand out with surrounding asterisks
- Best score: 15
- Best player score: 16
- Position: #82 / 344
- 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: #1223 / 3694
- Number of attempts: 7
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 51
- Position: #1406 / 1706
- Number of attempts: 4
Marcin Cabaj
Twitter: @marcincabaj
vimgolf account lol