Played Challenges
Wget failed to download redirections - 202 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: #44 / 65
- Number of attempts: 2
V to the i - 4802 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #89 / 1893
- Number of attempts: 3
That hyphen - 2595 entries
"vim vi improved"
- Best score: 9
- Best player score: 9
- Position: #21 / 701
- Number of attempts: 4
Just the middle - 11454 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 9
- Position: #3224 / 4197
- Number of attempts: 3
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #98 / 347
- Number of attempts: 1
Config Sections - 53 entries
Section me!
- Best score: 43
- Best player score: 48
- Position: #11 / 20
- Number of attempts: 2
Condensed Cases - 804 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 / 247
- Number of attempts: 4
increment by column in XML - 152 entries
modify an arbitrary "column" in an xml table by incrementing a an arbitrary placeholder string
- Best score: 19
- Best player score: 20
- Position: #20 / 55
- Number of attempts: 4
Happy TvvO - 427 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #27 / 206
- Number of attempts: 1
I forgot quotes - 15983 entries
Oops.
- Best score: 10
- Best player score: 20
- Position: #3565 / 4180
- Number of attempts: 3
learn vim in short time - 240 entries
so happy to learn vim.because vim is awesome
- Best score: 8
- Best player score: 8
- Position: #21 / 161
- Number of attempts: 2
vim1001 - 307 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: #25 / 110
- Number of attempts: 4
-a-b-c- - 3213 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 13
- Position: #25 / 1137
- Number of attempts: 4
Gray area - 747 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 12
- Position: #41 / 271
- Number of attempts: 4
Do you demand a shrubbery? - 1158 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 18
- Position: #141 / 300
- Number of attempts: 4
Don't know what this is - 2022 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: #173 / 585
- Number of attempts: 5
Where should I put the Newline? - 881 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #132 / 437
- 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: #49 / 111
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #477 / 3683
- Number of attempts: 5
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 33
- Position: #508 / 702
- Number of attempts: 2
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: #214 / 518
- Number of attempts: 2
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: #67 / 1078
- Number of attempts: 6
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #154 / 3963
- Number of attempts: 4
XML to JSON - 47 entries
Convert this xml file into json.
- Best score: 75
- Best player score: 92
- Position: #6 / 20
- Number of attempts: 2
Presidential Sorting - 51 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: #8 / 26
- Number of attempts: 2
Remove semicolons after expressions - 654 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 6
- Position: #68 / 263
- Number of attempts: 4
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #212 / 1748
- Number of attempts: 6
PHP Array Syntax -> MailChimp Merge Syntax - 545 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 / 150
- Number of attempts: 9
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: #1389 / 3694
- Number of attempts: 2
Charles H. Leggett
Twitter: @cleggett
Dad. Geek. Ham. CyberSec'er. GTD'er. Cyclist. Hiker. Backpacker. Geocacher. Photographer.