Played Challenges
Inverting Lines - 1797 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #125 / 486
- Number of attempts: 5
Modernise code - 1331 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 34
- Position: #47 / 306
- Number of attempts: 8
Python: Def to Lambda - 423 entries
LAMBDA!!!
- Best score: 19
- Best player score: 19
- Position: #66 / 149
- Number of attempts: 2
Add quotes to ansible playbook - 872 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 8
- Position: #78 / 274
- Number of attempts: 3
xrandr outputs and dashes - 652 entries
uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!
- Best score: 12
- Best player score: 12
- Position: #126 / 213
- Number of attempts: 1
Yo To Hello - 1107 entries
Simply Turn Yo To Hello
- Best score: 10
- Best player score: 10
- Position: #348 / 512
- Number of attempts: 2
Get mail address from outlook format - 621 entries
Create a mail list space separated of mail list formatted by outlook
- Best score: 15
- Best player score: 15
- Position: #72 / 196
- Number of attempts: 4
prepend * to every non-blank line - 6201 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 10
- Position: #418 / 1514
- Number of attempts: 5
One number per line - 18613 entries
Just give me the numbers.
- Best score: 14
- Best player score: 14
- Position: #741 / 3841
- Number of attempts: 7
V to the i - 4743 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #776 / 1878
- Number of attempts: 2
Applying same text modification in several lines - 2845 entries
Remove identical text at the beginning of several lines and the closing parenthesis.
- Best score: 12
- Best player score: 12
- Position: #10 / 840
- Number of attempts: 3
Add semicolons - 10785 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 10
- Position: #731 / 3042
- Number of attempts: 3
remove lines containing the word "reader" - 3528 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #483 / 1142
- Number of attempts: 1
Every other line - 2886 entries
AaAaAaA
- Best score: 12
- Best player score: 20
- Position: #620 / 700
- Number of attempts: 1
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: 9
- Position: #147 / 314
- Number of attempts: 3
Just the middle - 11346 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #1476 / 4160
- Number of attempts: 2
Vice versa - 7778 entries
Little role switching.
- Best score: 12
- Best player score: 12
- Position: #594 / 2095
- Number of attempts: 5
One to Ten - 2159 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: 12
- Position: #341 / 660
- Number of attempts: 1
Line under headers - 1996 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 27
- Position: #195 / 494
- Number of attempts: 7
quotes inside quotes - 3124 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 14
- Position: #347 / 1071
- Number of attempts: 4