Played Challenges
Exchanging Quotes - 878 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 38
- Position: #148 / 234
- Number of attempts: 1
Switch function arguments - 2235 entries
How to switch two arguments of a function.
- Best score: 7
- Best player score: 14
- Position: #447 / 687
- Number of attempts: 1
Append semicolon after expressions - 1088 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 27
- Position: #426 / 427
- Number of attempts: 1
Reverse and double space - 514 entries
Reverse the order of the given lines and double space everything
- Best score: 14
- Best player score: 19
- Position: #175 / 204
- Number of attempts: 1
Remove noise from HTTP log - 760 entries
This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.
- Best score: 15
- Best player score: 16
- Position: #155 / 282
- Number of attempts: 2
Remove semicolons after expressions - 690 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 8
- Position: #163 / 272
- Number of attempts: 2
switch variable - 5136 entries
how fast can you switch two variable ?
- Best score: 9
- Best player score: 13
- Position: #1076 / 1767
- Number of attempts: 1
Format the output - 158 entries
Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.
- Best score: 35
- Best player score: 84
- Position: #36 / 41
- Number of attempts: 2
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: 43
- Position: #114 / 152
- Number of attempts: 2
imports alignment (python) - 729 entries
Align as one import per line.
- Best score: 17
- Best player score: 25
- Position: #131 / 205
- Number of attempts: 1
HTML to Haml - 906 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 32
- Position: #78 / 208
- Number of attempts: 4
VimGolf