Played Challenges
prepend * to every non-blank line - 6141 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 12
- Position: #758 / 1500
- Number of attempts: 2
Wrap the text of an email message to 79 characters - 652 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #147 / 376
- Number of attempts: 2
Search and Replace 0 - 4766 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #908 / 1578
- Number of attempts: 1
Interweave two blocks of text - 615 entries
Suppose you've got data on a list of things from multiple sources. They're all in separate chunks, so how might you create a tabular output?
- Best score: 15
- Best player score: 26
- Position: #197 / 210
- Number of attempts: 2
Python Hello World! Reformatting - 930 entries
A novice Python using prints Hello World! and a pro shows him different way. Using vim to get into pro style from novice, win the challenge.
- Best score: 39
- Best player score: 43
- Position: #152 / 361
- Number of attempts: 2
Change your calendar - 352 entries
Happy New Year!
- Best score: 18
- Best player score: 26
- Position: #33 / 83
- Number of attempts: 1
Minimalist Limerick - 514 entries
Reproduce this lovely poem.
- Best score: 31
- Best player score: 37
- Position: #98 / 170
- Number of attempts: 2
Coordinates placeholder - 62 entries
Place coordinates instead of target search.
- Best score: 22
- Best player score: 25
- Position: #18 / 36
- Number of attempts: 1
SFD-ROC: The Quick Brown Fox - 168 entries
Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.
- Best score: 24
- Best player score: 28
- Position: #59 / 100
- Number of attempts: 1
Extract text from xml - 106 entries
Extract text from xml file (ignoring commented out elements) and create a one line regex.
- Best score: 28
- Best player score: 41
- Position: #27 / 43
- Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 398 entries
Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."
- Best score: 8
- Best player score: 11
- Position: #113 / 186
- Number of attempts: 3
SFD-ROC: vimvimvim - 1550 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 16
- Position: #415 / 435
- Number of attempts: 1
Stairs Indenting - 442 entries
Indent each line with <line number> whitespaces.
- Best score: 12
- Best player score: 20
- Position: #175 / 191
- Number of attempts: 1
Unwrap the text of an email message - 182 entries
Reverse of "Wrap the text of an email message to 79 characters". gq and gw are great for wrapping paragraphs. But sometimes other programs choke on your wrapped lines. What's the best way to un-gq?
- Best score: 16
- Best player score: 24
- Position: #44 / 72
- Number of attempts: 1
SFD-ROC: ROT13 Phonics - 96 entries
A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.
- Best score: 6
- Best player score: 6
- Position: #34 / 70
- Number of attempts: 1
Let's play some Ivmgolf - 1066 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 13
- Position: #406 / 436
- Number of attempts: 1
Alphabet soup - 406 entries
Create a column of all alphabet characters organized in a funky way
- Best score: 25
- Best player score: 42
- Position: #83 / 99
- Number of attempts: 2
Switch function arguments - 2019 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 13
- Position: #344 / 637
- Number of attempts: 1
Append semicolon after expressions - 986 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 13
- Position: #292 / 397
- Number of attempts: 2
Remove semicolons after expressions - 602 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
- Best score: 6
- Best player score: 10
- Position: #237 / 253
- Number of attempts: 1
switch variable - 5012 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #727 / 1728
- Number of attempts: 1
Make it more readable - 1930 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 16
- Position: #359 / 636
- Number of attempts: 1
Sort entries based on date - 359 entries
Sort some entries in a Ledger-file based on date.
- Best score: 11
- Best player score: 80
- Position: #113 / 113
- Number of attempts: 1
imports alignment (python) - 657 entries
Align as one import per line.
- Best score: 17
- Best player score: 30
- Position: #148 / 194
- Number of attempts: 1
expand a list comprehension (python) - 296 entries
Please show your way to convert a list comprehension in python to an ordinary for-loop expression!
- Best score: 42
- Best player score: 58
- Position: #72 / 105
- Number of attempts: 1
Numbering a List - 1849 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 21
- Position: #369 / 636
- Number of attempts: 1
Shebangs for all - 1846 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 21
- Position: #411 / 486
- Number of attempts: 2
A Simple One - 978 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: #299 / 636
- Number of attempts: 1
82 bottles of beer on the wall - 296 entries
Take them down. (sorry, only 82 bottles because the problem size is limited!)
- Best score: 107
- Best player score: 123
- Position: #46 / 138
- Number of attempts: 1
Reverse and count - 432 entries
Someone typed things upside down and now a Vim ninja needs to reverse the lines and count how many there are.
- Best score: 18
- Best player score: 28
- Position: #104 / 168
- Number of attempts: 1
Increment, increment, increment.... - 626 entries
Vim likes macros
- Best score: 10
- Best player score: 12
- Position: #232 / 393
- Number of attempts: 2
Sorting paragraphs - 502 entries
Order the paragraphs correctly, per prefixed index
- Best score: 18
- Best player score: 33
- Position: #95 / 155
- Number of attempts: 1
Indentation - 492 entries
Indent each line according to the right number of spaces it needs.
- Best score: 21
- Best player score: 26
- Position: #66 / 167
- Number of attempts: 2
Turn this csv list into queries - 203 entries
Transform each line of this csv file into a MySQL-ready INSERT query.
- Best score: 98
- Best player score: 123
- Position: #49 / 94
- Number of attempts: 1
The Cake is a Lie - 1266 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 13
- Position: #477 / 506
- Number of attempts: 1
Fix the Haiku - 272 entries
Change this slightly scrambled haiku to its unscrambled form and fix the capitalisation and punctuation along the way.
- Best score: 28
- Best player score: 47
- Position: #89 / 108
- Number of attempts: 1
Context insensitive completion 0 - 493 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 6
- Best player score: 12
- Position: #217 / 230
- Number of attempts: 2
Reformat some Python - 576 entries
Fix some very bizarrely laid-out code.
- Best score: 34
- Best player score: 45
- Position: #136 / 227
- Number of attempts: 1
Reformat a C golf submission - 547 entries
Take this C golf submission (for the "tiny but standards-compliant Hello World program" category, naturally), and turn it into formatted C code.
- Best score: 22
- Best player score: 30
- Position: #84 / 198
- Number of attempts: 5
PEP8 Python Wrapping Comments and Code - 174 entries
According to PEP8, long flowy text and code should have different max line lengths. Code: 79 characters max Long flowy text: 72 characters max
- Best score: 23
- Best player score: 32
- Position: #43 / 63
- Number of attempts: 1
Remember FizzBuzz? - 634 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 76
- Position: #140 / 173
- Number of attempts: 1
Sort and add attributes - 1273 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 35
- Position: #359 / 510
- Number of attempts: 2
Simple text editing with Vim - 11962 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #972 / 3502
- Number of attempts: 1