Played Challenges
Wget failed to download redirections - 249 entries
Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.
- Best score: 15
- Best player score: 22
- Position: #48 / 72
- Number of attempts: 2
V to the i - 4883 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #89 / 1914
- Number of attempts: 3
That hyphen - 2646 entries
"vim vi improved"
- Best score: 9
- Best player score: 9
- Position: #21 / 711
- Number of attempts: 4
Just the middle - 11616 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 9
- Position: #3262 / 4255
- Number of attempts: 3
VimGolfNight - 602 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #98 / 356
- Number of attempts: 1
Config Sections - 80 entries
Section me!
- Best score: 43
- Best player score: 48
- Position: #14 / 23
- Number of attempts: 2
Condensed Cases - 827 entries
Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.
- Best score: 12
- Best player score: 12
- Position: #20 / 254
- Number of attempts: 4
increment by column in XML - 167 entries
modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string
- Best score: 19
- Best player score: 20
- Position: #22 / 57
- Number of attempts: 4
Happy TvvO - 439 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #27 / 211
- Number of attempts: 1
I forgot quotes - 16237 entries
Oops.
- Best score: 10
- Best player score: 20
- Position: #3604 / 4224
- Number of attempts: 3
learn vim in short time - 247 entries
so happy to learn vim.because vim is awesome
- Best score: 8
- Best player score: 8
- Position: #21 / 167
- Number of attempts: 2
vim1001 - 327 entries
change number 1001 into a "vim1001 sequence". (My first challenge, hope it is not too bad... )
- Best score: 17
- Best player score: 21
- Position: #26 / 112
- Number of attempts: 4
-a-b-c- - 3241 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 13
- Position: #25 / 1146
- Number of attempts: 4
Gray area - 763 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 12
- Position: #42 / 276
- Number of attempts: 4
Do you demand a shrubbery? - 1207 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 18
- Position: #142 / 309
- Number of attempts: 4
Don't know what this is - 2066 entries
Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.
- Best score: 11
- Best player score: 12
- Position: #176 / 594
- Number of attempts: 5
Where should I put the Newline? - 911 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #132 / 450
- Number of attempts: 3
Split the words - 399 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: #51 / 115
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10755 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #477 / 3715
- Number of attempts: 5
attr_aligner - 3566 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 33
- Position: #513 / 710
- Number of attempts: 2
Letter case trickery - 1686 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: #220 / 525
- Number of attempts: 2
quotes inside quotes - 3202 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: #67 / 1093
- Number of attempts: 6
Words in parens - 13053 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #166 / 3991
- Number of attempts: 4
XML to JSON - 49 entries
Convert this xml file into json.
- Best score: 75
- Best player score: 92
- Position: #7 / 21
- Number of attempts: 2
Presidential Sorting - 65 entries
Given a nice CSV formatted arrangement of the Presidents of the United States, we need to print out an alphabetical list in pretty columns. Prove that vim can conquer this basic Excel task!
- Best score: 40
- Best player score: 45
- Position: #9 / 28
- Number of attempts: 2
Remove semicolons after expressions - 685 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 6
- Position: #68 / 270
- Number of attempts: 4
switch variable - 5128 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #212 / 1764
- Number of attempts: 6
PHP Array Syntax -> MailChimp Merge Syntax - 569 entries
I recently needed to send an e-mail to our marketing department listing allowed merge tags for our MailChimp campaigns. The allowed merge tags were determined from a PHP array in one of our PHP classes. I transformed the PHP class to MailChimp's syntax and sent the e-mail. It was, however, a long, laborious process. I'm still fairly new to Vim and would love to see how an expert Vim user would tackle one of my own, real-world problems. Thanks and have fun!
- Best score: 23
- Best player score: 23
- Position: #18 / 152
- Number of attempts: 9
Simple text editing with Vim - 13626 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1433 / 3902
- Number of attempts: 2
Charles H. Leggett
Twitter: @cleggett
Dad. Geek. Ham. CyberSec'er. GTD'er. Cyclist. Hiker. Backpacker. Geocacher. Photographer.
VimGolf