Played Challenges
Simple, Practical, and Common - 33385 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 30
- Position: #5039 / 7364
- Number of attempts: 1
One number per line - 18616 entries
Just give me the numbers.
- Best score: 14
- Best player score: 23
- Position: #2783 / 3842
- Number of attempts: 1
Separate the lines - 175 entries
Every other line is mixed up. Separate them into their original texts.
- Best score: 11
- Best player score: 11
- Position: #10 / 89
- Number of attempts: 2
Split line with dots - 2125 entries
This line is too long, split it.
- Best score: 15
- Best player score: 20
- Position: #354 / 630
- Number of attempts: 1
From argument to object - 1474 entries
This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?
- Best score: 17
- Best player score: 19
- Position: #269 / 450
- Number of attempts: 1
Every other line - 2886 entries
AaAaAaA
- Best score: 12
- Best player score: 17
- Position: #411 / 700
- Number of attempts: 2
Array propagate - 319 entries
Complete the array with the keys as part of the value
- Best score: 23
- Best player score: 26
- Position: #53 / 115
- Number of attempts: 2
Start coding format - 147 entries
I used to start coding with following format: int main(){ -(cursor here) }
- Best score: 22
- Best player score: 24
- Position: #39 / 70
- Number of attempts: 2
comment and uncomment code inline - 1069 entries
It's very useful to be able to comment out a block of code in a quick edit. And likewise to uncomment the code. This operation often involves multi-line stanzas and even large blocks. With just line-wise navigation and insert mode this would cost you about 4 keystrokes per line. Master this hole of VimGolf and you'll quickly drop your key count in day to day Vim as well.
- Best score: 9
- Best player score: 12
- Position: #223 / 314
- Number of attempts: 1
Todo list specification - 385 entries
The every item on the todo list must be done today. Modify the list to reflect that.
- Best score: 37
- Best player score: 39
- Position: #102 / 176
- Number of attempts: 1
For all cases. - 141 entries
In this case... change it! :) Watch the line.
- Best score: 8
- Best player score: 8
- Position: #8 / 100
- Number of attempts: 1
Simple addition - 310 entries
The right side of the equation is already there. We just need the left one now.
- Best score: 12
- Best player score: 14
- Position: #79 / 117
- Number of attempts: 1
Interactive git rebase changing commands - 161 entries
How to change the action of some commits in git rebase dialog.
- Best score: 15
- Best player score: 17
- Position: #67 / 77
- Number of attempts: 1
Create a table - 325 entries
Convert the given input into a formatted table
- Best score: 16
- Best player score: 18
- Position: #58 / 104
- Number of attempts: 5
Fiddle percentages into real numbers - 840 entries
Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.
- Best score: 13
- Best player score: 14
- Position: #166 / 287
- Number of attempts: 2
Combines all items - 303 entries
For each line that starts with the same number I want to combine its contents
- Best score: 9
- Best player score: 10
- Position: #89 / 137
- Number of attempts: 1
One to Ten - 2165 entries
Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2
- Best score: 12
- Best player score: 14
- Position: #396 / 662
- Number of attempts: 1
Add Go XML to structure tags - 152 entries
The Go programming language can directly map XML to structure fields. Add the correct XML tag after each field.
- Best score: 23
- Best player score: 31
- Position: #45 / 66
- Number of attempts: 1
Array transposition - 2378 entries
Transpose two arrays into one.
- Best score: 16
- Best player score: 30
- Position: #366 / 443
- Number of attempts: 1