Played Challenges
Filling braces - 406 entries
Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.
- Best score: 24
- Best player score: 24
- Position: #27 / 132
- Number of attempts: 3
Swap function parameters and delete all comments in python. - 1036 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 20
- Position: #59 / 251
- Number of attempts: 1
Delete the last function argument in python. - 707 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 6
- Position: #14 / 253
- Number of attempts: 4
Flip All Bits - 485 entries
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
- Best score: 24
- Best player score: 26
- Position: #5 / 137
- Number of attempts: 14
Fix the Scala Method - 379 entries
Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.
- Best score: 2
- Best player score: 22
- Position: #49 / 126
- Number of attempts: 11
Copy punctuation - 755 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 19
- Position: #22 / 186
- Number of attempts: 6
New teacher - 1529 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 26
- Position: #179 / 320
- Number of attempts: 6
Surround the 'z' character with brackets, quotes, and print as formatted string. - 584 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #248 / 330
- Number of attempts: 2
prepend * to every non-blank line - 6399 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 11
- Position: #771 / 1564
- Number of attempts: 1
Search and Replace 0 - 5167 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #1115 / 1677
- Number of attempts: 5
Just the middle - 11630 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #3248 / 4261
- Number of attempts: 2
Order and join - 1032 entries
There's something special about the input order.
- Best score: 10
- Best player score: 11
- Position: #149 / 265
- Number of attempts: 13
ASCII Art - 92 entries
how good are you with simple regex?
- Best score: 10
- Best player score: 10
- Position: #36 / 58
- Number of attempts: 1
Python: Lots of function arguments - 129 entries
The function definition is too long for one line. The modeline helps you with some typical Python indent settings.
- Best score: 6
- Best player score: 6
- Position: #3 / 53
- Number of attempts: 4
The holy-grail may help - 408 entries
Can you find it in less than 20 strokes, Arthur?
- Best score: 16
- Best player score: 25
- Position: #218 / 222
- Number of attempts: 2
Shebangs for all - 2105 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: 11
- Position: #81 / 534
- Number of attempts: 13
Get rid of html tags - 465 entries
Want to read more about Vim's background? Then get rid of those html tags...
- Best score: 12
- Best player score: 18
- Position: #165 / 262
- Number of attempts: 2
Simple text editing with Vim - 13667 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #2124 / 3914
- Number of attempts: 6
Contributed Challenges
Delete the last function argument in python. - 707 entries
Delete the last function argument in this python script.
Swap function parameters and delete all comments in python. - 1036 entries
Swap function parameters and delete all comments in python.
VimGolf