Played Challenges
Prime Numbers - 354 entries
List the first 100 prime numbers.
- Best score: 34
- Best player score: 43
- Position: #46 / 104
- Number of attempts: 1
Search and Replace 0 - 4978 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #165 / 1621
- Number of attempts: 5
Across-Down Flip - 68 entries
Do this instead of the Sunday crossword.
- Best score: 23
- Best player score: 31
- Position: #17 / 26
- Number of attempts: 1
Split the words - 357 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: 22
- Position: #21 / 109
- Number of attempts: 4
Hanging Indent for Footnotes - 72 entries
Format this footnote (in kramdown syntax) so that it has hanging indent.
- Best score: 17
- Best player score: 23
- Position: #15 / 30
- Number of attempts: 2
Top X - 212 entries
The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome
- Best score: 18
- Best player score: 33
- Position: #52 / 71
- Number of attempts: 1
Change The Perspective - 38 entries
This is a go game recodes file(.sgf file, refer to http://www.red-bean.com/sgf/). It base on such a coordinate system: in vertical direction, is from top(farthest end) to bottom, mark as a,b,c,...,s(19*19 board); in horizontal direction, is from left to right, uses the same notations. For Example, the coordinate notation 'cq', is the position at the bottom-left corner(vertical coordinate first). The record is from one player's perspective. We need to change to another's, but we don't want to change coordinate system, let it keep top to bottom and left to right. so we have to change the coordinates, a <-> s, b <-> r,c <-> q, etc. the Position 'cq', as transformation, it will be 'qd'.
- Best score: 33
- Best player score: 47
- Position: #14 / 23
- Number of attempts: 1
Number an outline - 280 entries
The indent and words are right, but the numbers are all wrong.
- Best score: 25
- Best player score: 29
- Position: #9 / 78
- Number of attempts: 2
Words in parens - 12928 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #31 / 3960
- Number of attempts: 6
Assign list - 192 entries
Assign list elements to matrix
- Best score: 30
- Best player score: 34
- Position: #18 / 61
- Number of attempts: 1
Hole-in-one - 1018 entries
Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.
- Best score: 15
- Best player score: 16
- Position: #14 / 304
- Number of attempts: 4
It's a factor - 104 entries
Flaunt your macro prowess by factoring some numbers. Too hard? It takes less than 30 strokes, I promise.
- Best score: 24
- Best player score: 26
- Position: #8 / 38
- Number of attempts: 5
Changing URL path in CSS - 138 entries
What's the quickest way to swap out all the URLs in a CSS file? Is it wasted keystrokes using look-behinds and look-aheads? (I'm sorry for the delete/report--I made a mistake with the last one requiring an ugly search for graphic to replace with images. I just intended this to be a simple search and replace that might possibly generate some macros or normals solutions that are quicker)
- Best score: 40
- Best player score: 43
- Position: #27 / 62
- Number of attempts: 2
NATO phonetic alphabet - 526 entries
Transform the series of words into a list.
- Best score: 19
- Best player score: 19
- Position: #13 / 195
- Number of attempts: 4
Create a pandoc compatible table - 214 entries
In [this vimcast][1], a featured gist from Tim Pope shows how to quickly make a simple table structure. How fast can you convert it to pandoc's markdown style? [1]: http://vimcasts.org/episodes/aligning-text-with-tabular-vim/
- Best score: 32
- Best player score: 33
- Position: #16 / 56
- Number of attempts: 4
Shuffle and Sort - 229 entries
The values where sorted incorrectly. Get them back to how they are supposed to be
- Best score: 17
- Best player score: 19
- Position: #22 / 67
- 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: 33
- Position: #22 / 79
- Number of attempts: 3
Convert pandoc unordered list to a numbered list - 166 entries
I know it's possible to use #. in pandoc to auto-generate numbered lists, but then it's not easy to tell how many items there are when reading it in Markdown. How fast can you make the switch?
- Best score: 20
- Best player score: 22
- Position: #10 / 57
- Number of attempts: 4
Inconsistent real estate paste - 213 entries
Format a hand-typed real estate listing that uses inconsistent punctuation into four sections
- Best score: 24
- Best player score: 31
- Position: #22 / 57
- Number of attempts: 3
Flip the chessboard - 95 entries
White's turn is over. Flip the board to black's perspective. I added coordinates to frustrate you.
- Best score: 18
- Best player score: 21
- Position: #13 / 32
- Number of attempts: 2
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 22
- Position: #123 / 754
- Number of attempts: 4
Aligning function arguments to match a specific coding style - 247 entries
Most projects have specific coding style guidelines. In this case, the argument list must be broken into a new line for each argument, with the argument names right aligned, taking into account pointers.
- Best score: 16
- Best player score: 18
- Position: #35 / 71
- Number of attempts: 3
Switch function arguments - 2125 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #214 / 659
- Number of attempts: 3
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: 15
- Position: #42 / 273
- Number of attempts: 2
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #121 / 1748
- Number of attempts: 3
Calculate the table totals - 146 entries
Go ahead... commit the treachery of using vim as a spreadsheet.
- Best score: 33
- Best player score: 45
- Position: #18 / 45
- Number of attempts: 5
A Simple One - 1045 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #322 / 660
- Number of attempts: 1
The Cake is a Lie - 1334 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 9
- Position: #143 / 524
- Number of attempts: 3
Whitespace, empty lines and tabs - 3591 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 17
- Position: #62 / 776
- Number of attempts: 7
Simple text editing with Vim - 12717 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #95 / 3673
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 6902 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 32
- Position: #21 / 1691
- Number of attempts: 9