Played Challenges
Simple, Practical, and Common - 33742 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: 28
- Position: #4443 / 7447
- Number of attempts: 2
One number per line - 18776 entries
Just give me the numbers.
- Best score: 14
- Best player score: 24
- Position: #3250 / 3875
- Number of attempts: 1
Add semicolons - 10887 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 11
- Position: #1013 / 3074
- Number of attempts: 3
Extract wireshark capture filter - 216 entries
Extract wireshark capture filter from IP plan
- Best score: 25
- Best player score: 44
- Position: #67 / 72
- Number of attempts: 1
Tables, Functions, Sprocs - 135 entries
In order to load some scripts into my database in the correct order I need to load tables first (t_), then functions (fn_), then stored procedures (sp_). The order of the t_ lines and the order of the sp_ lines should also match. Reorder the lines so they will load correctly.
- Best score: 10
- Best player score: 11
- Position: #29 / 47
- Number of attempts: 3
Search and Replace 0 - 5004 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 14
- Position: #1050 / 1630
- Number of attempts: 2
That hyphen - 2595 entries
"vim vi improved"
- Best score: 9
- Best player score: 17
- Position: #643 / 701
- Number of attempts: 1
comment and uncomment code inline - 1130 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: 11
- Position: #228 / 324
- Number of attempts: 3
Join 'em - 251 entries
This shouldn't be too tough
- Best score: 4
- Best player score: 6
- Position: #142 / 151
- Number of attempts: 1
-a-b-c- - 3216 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 16
- Position: #862 / 1138
- Number of attempts: 2
Don't know what this is - 2024 entries
Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.
- Best score: 11
- Best player score: 16
- Position: #537 / 586
- Number of attempts: 1
citizen_hacks_2019_challenge1 - 51 entries
For the Citizen Hacks 2019 Vim competition
- Best score: 5
- Best player score: 5
- Position: #1 / 45
- Number of attempts: 1
replacing each line of a block selection - 3001 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 28
- Position: #612 / 778
- Number of attempts: 2