Played Challenges
quotes inside quotes - 3125 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: #514 / 1072
- Number of attempts: 1
Words in parens - 12858 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #1896 / 3946
- Number of attempts: 1
Pairs of numbers - 360 entries
Line 1 represents x, line 2 y-data. Bring the corresponding pairs in the form "[x,y]\n"
- Best score: 26
- Best player score: 30
- Position: #42 / 133
- Number of attempts: 1
Delete unwanted lines - 396 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #25 / 225
- Number of attempts: 1
The name of the game - 650 entries
End up with the name of the game.
- Best score: 11
- Best player score: 12
- Position: #285 / 356
- Number of attempts: 1
SFD-ROC: vimvimvim - 1581 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 9
- Position: #178 / 439
- Number of attempts: 3
Cleanining up 80 column concatenated text - 188 entries
1. Put the whole query on one line, remove the concatenation operators 2. Remove the double spaces that appear a few times in the query 3. Use string-interpolated variable statementPid rather than the ugly concatenation
- Best score: 31
- Best player score: 41
- Position: #35 / 76
- Number of attempts: 1
Saving the hashes(#) - 1992 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: 25
- Position: #150 / 473
- Number of attempts: 5
Vertical Limit - 2448 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 25
- Position: #312 / 738
- Number of attempts: 1
Exchanging Quotes - 821 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 32
- Position: #59 / 225
- Number of attempts: 4
Switch function arguments - 2082 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #219 / 652
- Number of attempts: 2
Append semicolon after expressions - 1005 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #167 / 403
- Number of attempts: 4
Remove noise from HTTP log - 695 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: #157 / 270
- Number of attempts: 1
Remove semicolons after expressions - 628 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 8
- Position: #181 / 258
- Number of attempts: 1
switch variable - 5036 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 16
- Position: #1547 / 1736
- Number of attempts: 1
The meaning - 558 entries
Numbers are fun!
- Best score: 5
- Best player score: 5
- Position: #142 / 356
- Number of attempts: 1
Calculate the table totals - 132 entries
Go ahead... commit the treachery of using vim as a spreadsheet.
- Best score: 33
- Best player score: 71
- Position: #34 / 43
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 6560 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 43
- Position: #977 / 1616
- Number of attempts: 1
Maksim S.
Twitter: @waynesayonara
Full-time movie buff with a part-time life