Played Challenges
Inverting Lines - 1907 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 10
- Position: #125 / 512
- Number of attempts: 5
Modernise code - 1402 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 34
- Position: #47 / 324
- Number of attempts: 8
Python: Def to Lambda - 455 entries
LAMBDA!!!
- Best score: 19
- Best player score: 19
- Position: #66 / 156
- Number of attempts: 2
Add quotes to ansible playbook - 1007 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
- Best score: 8
- Best player score: 8
- Position: #78 / 316
- Number of attempts: 3
xrandr outputs and dashes - 716 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 / 224
- Number of attempts: 1
Yo To Hello - 1144 entries
Simply Turn Yo To Hello
- Best score: 8
- Best player score: 10
- Position: #349 / 530
- Number of attempts: 2
Get mail address from outlook format - 649 entries
Create a mail list space separated of mail list formatted by outlook
- Best score: 15
- Best player score: 15
- Position: #72 / 204
- Number of attempts: 4
prepend * to every non-blank line - 6353 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 10
- Position: #418 / 1549
- Number of attempts: 5
One number per line - 18776 entries
Just give me the numbers.
- Best score: 14
- Best player score: 14
- Position: #741 / 3875
- Number of attempts: 7
V to the i - 4818 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #776 / 1898
- Number of attempts: 2
Applying same text modification in several lines - 2897 entries
Remove identical text at the beginning of several lines and the closing parenthesis.
- Best score: 12
- Best player score: 12
- Position: #10 / 857
- Number of attempts: 3
Add semicolons - 10887 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 10
- Position: #731 / 3074
- Number of attempts: 3
remove lines containing the word "reader" - 3604 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #483 / 1169
- Number of attempts: 1
Every other line - 2916 entries
AaAaAaA
- Best score: 12
- Best player score: 20
- Position: #623 / 705
- 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: 9
- Position: #147 / 324
- Number of attempts: 3
Just the middle - 11495 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #1476 / 4213
- Number of attempts: 2
Vice versa - 7953 entries
Little role switching.
- Best score: 12
- Best player score: 12
- Position: #594 / 2140
- Number of attempts: 5
One to Ten - 2227 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 / 677
- Number of attempts: 1
Line under headers - 2059 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 27
- Position: #199 / 507
- Number of attempts: 7
quotes inside quotes - 3165 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 / 1079
- Number of attempts: 4