Played Challenges
Exchanging Quotes - 864 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 38
- Position: #147 / 232
- Number of attempts: 1
Switch function arguments - 2192 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 14
- Position: #438 / 677
- Number of attempts: 1
Append semicolon after expressions - 1065 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 27
- Position: #421 / 422
- Number of attempts: 1
Reverse and double space - 500 entries
Reverse the order of the given lines and double space everything
- Best score: 14
- Best player score: 19
- Position: #171 / 199
- Number of attempts: 1
Remove noise from HTTP log - 732 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: #153 / 278
- Number of attempts: 2
Remove semicolons after expressions - 669 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 8
- Position: #159 / 265
- Number of attempts: 2
switch variable - 5101 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 13
- Position: #1068 / 1756
- Number of attempts: 1
Format the output - 146 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: #35 / 40
- Number of attempts: 2
PHP Array Syntax -> MailChimp Merge Syntax - 550 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: #113 / 151
- Number of attempts: 2
imports alignment (python) - 704 entries
Align as one import per line.
- Best score: 17
- Best player score: 25
- Position: #127 / 200
- Number of attempts: 1
HTML to Haml - 883 entries
Help convert this HTML page to Haml.
- Best score: 23
- Best player score: 32
- Position: #77 / 206
- Number of attempts: 4
VimGolf