Played Challenges
Paste a column after a column - 2662 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 15
- Position: #121 / 576
- Number of attempts: 8
Reformat symbols in list - 1649 entries
Saw this in some lecture, easy reformatting using multiple cursor in VS Code
- Best score: 24
- Best player score: 25
- Position: #104 / 355
- Number of attempts: 18
delete swap - 1834 entries
delete all swap
- Best score: 5
- Best player score: 6
- Position: #424 / 570
- Number of attempts: 5
Put a newline after every 10 lines in vim - 1680 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 11
- Position: #200 / 564
- Number of attempts: 3
hello-world-vimgolf - 2523 entries
Simple number generation
- Best score: 10
- Best player score: 11
- Position: #422 / 722
- Number of attempts: 3
simple replacements - 1861 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 20
- Position: #141 / 399
- Number of attempts: 7
Inverting Lines - 1952 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #220 / 522
- Number of attempts: 1
Python dataclasses - 1248 entries
Simple challenge to extract fields from a Python class
- Best score: 19
- Best player score: 19
- Position: #66 / 311
- Number of attempts: 7
Making 3 line function a one liner. - 343 entries
Simple challenge for frequent action while programming.
- Best score: 4
- Best player score: 4
- Position: #169 / 211
- Number of attempts: 1
Modernise code - 1434 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 35
- Position: #101 / 331
- Number of attempts: 7
swap number pairs - 2168 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 17
- Position: #117 / 392
- Number of attempts: 14
Python: Def to Lambda - 474 entries
LAMBDA!!!
- Best score: 19
- Best player score: 19
- Position: #85 / 158
- Number of attempts: 2
Rural Post - 4579 entries
Simple challenge to remove all but the post code on each line
- Best score: 9
- Best player score: 10
- Position: #477 / 1117
- Number of attempts: 3
Satisfy the go linter - 2476 entries
You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?
- Best score: 20
- Best player score: 20
- Position: #152 / 492
- Number of attempts: 9
Add quotes to ansible playbook - 1036 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 9
- Position: #204 / 327
- Number of attempts: 5
Multiline to Single Line - 750 entries
Convert a multiline, indented file to a single line with no whitespace
- Best score: 5
- Best player score: 5
- Position: #230 / 319
- Number of attempts: 1
Yo To Hello - 1154 entries
Simply Turn Yo To Hello
- Best score: 8
- Best player score: 10
- Position: #393 / 535
- Number of attempts: 1
prepend * to every non-blank line - 6380 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 11
- Position: #763 / 1557
- Number of attempts: 5
Quote modules - 1099 entries
Complete golang import statement.
- Best score: 21
- Best player score: 22
- Position: #83 / 287
- Number of attempts: 4
Unsemantic linewrapping - 943 entries
[Inspired by a blog post I read: https://scott.mn/2014/02/21/semantic_linewrapping/. Text adapted.] Sometimes when editing a Markdown file, I wrap the lines semantically. Instead of inserting a newline at 70 columns (or whatever), or making paragraphs one long line, I put in newlines at a point that seems logical to me. This may seem silly, but it produces better diffs. Semantic linewrapping also makes editing snappier. I can delete, edit or insert sentences easily using linewise operations. Code-oriented text editors like Vim and [REDACTED] are really good at this kind of manipulation. Editing text that hasn't been wrapped semantically is a pain, though:
- Best score: 9
- Best player score: 10
- Position: #156 / 235
- Number of attempts: 2
Add string initializers to an enum - 899 entries
Change Typescript enum so that it has string initializers.
- Best score: 21
- Best player score: 22
- Position: #104 / 264
- Number of attempts: 6
Add semicolons - 10923 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 11
- Position: #1781 / 3087
- Number of attempts: 3
Bad Copy Syntax - 2072 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 19
- Position: #224 / 539
- Number of attempts: 6
Wrap the text of an email message to 79 characters - 852 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #294 / 441
- Number of attempts: 4
ninja substitution - 1436 entries
How can you reuse a previous substitution ?
- Best score: 14
- Best player score: 15
- Position: #144 / 270
- Number of attempts: 4
Join 'em - 254 entries
This shouldn't be too tough
- Best score: 4
- Best player score: 4
- Position: #22 / 153
- Number of attempts: 1
Remove quotes after first field - 408 entries
Remove the quotes around each field except for the first field.
- Best score: 16
- Best player score: 18
- Position: #47 / 95
- Number of attempts: 9
Reorder the groups - 1195 entries
Change the order so that the groups of fruit come before the vegetables.
- Best score: 14
- Best player score: 15
- Position: #126 / 267
- Number of attempts: 8
Reverse and count - 486 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: 18
- Position: #17 / 179
- Number of attempts: 13
EtherFan
Twitter2:
Diving deep with eth
VimGolf