Played Challenges
quotes inside quotes - 3165 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: #517 / 1079
- Number of attempts: 1
Words in parens - 12966 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #1911 / 3968
- Number of attempts: 1
Pairs of numbers - 363 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: #43 / 136
- Number of attempts: 1
Delete unwanted lines - 419 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #25 / 230
- Number of attempts: 1
The name of the game - 668 entries
End up with the name of the game.
- Best score: 11
- Best player score: 12
- Position: #289 / 361
- Number of attempts: 1
SFD-ROC: vimvimvim - 1606 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: #182 / 446
- Number of attempts: 3
Cleanining up 80 column concatenated text - 203 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: #37 / 79
- Number of attempts: 1
Saving the hashes(#) - 2063 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: #153 / 480
- Number of attempts: 5
Vertical Limit - 2540 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 25
- Position: #320 / 755
- Number of attempts: 1
Exchanging Quotes - 858 entries
Sometimes you need to exchange a choice of quotes in some code.
- Best score: 30
- Best player score: 32
- Position: #61 / 230
- Number of attempts: 4
Switch function arguments - 2140 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #224 / 664
- Number of attempts: 2
Append semicolon after expressions - 1056 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #173 / 419
- Number of attempts: 4
Remove noise from HTTP log - 717 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: #160 / 273
- Number of attempts: 1
Remove semicolons after expressions - 654 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 8
- Position: #186 / 263
- Number of attempts: 1
switch variable - 5079 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 16
- Position: #1556 / 1749
- Number of attempts: 1
The meaning - 575 entries
Numbers are fun!
- Best score: 5
- Best player score: 5
- Position: #142 / 363
- Number of attempts: 1
Calculate the table totals - 146 entries
Go ahead... commit the treachery of using vim as a spreadsheet.
- Best score: 33
- Best player score: 71
- Position: #36 / 45
- Number of attempts: 1
Reformat/Refactor a Golfer Class - 7095 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 43
- Position: #1029 / 1740
- Number of attempts: 1