Played Challenges
Rural Post - 4602 entries
Simple challenge to remove all but the post code on each line
- Best score: 9
- Best player score: 9
- Position: #109 / 1124
- Number of attempts: 16
Satisfy the go linter - 2487 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: 24
- Position: #245 / 496
- Number of attempts: 13
Simple, Practical, and Common - 34021 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: 23
- Position: #2825 / 7517
- Number of attempts: 17
Swap values - 4707 entries
Well, swap the values...
- Best score: 11
- Best player score: 11
- Position: #302 / 1294
- Number of attempts: 8
prepend * to every non-blank line - 6397 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 10
- Position: #379 / 1563
- Number of attempts: 12
One number per line - 18903 entries
Just give me the numbers.
- Best score: 14
- Best player score: 23
- Position: #3072 / 3904
- Number of attempts: 9
Swap values inside brackets - 2551 entries
Easy challenge.
- Best score: 13
- Best player score: 14
- Position: #70 / 594
- Number of attempts: 11
SCREAMING_SNAKE_CASE to Title Case - 1273 entries
Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary
- Best score: 19
- Best player score: 34
- Position: #227 / 266
- Number of attempts: 3
Add semicolons - 10956 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 10
- Position: #356 / 3098
- Number of attempts: 11
Bad Copy Syntax - 2088 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 19
- Position: #157 / 543
- Number of attempts: 18
remove lines containing the word "reader" - 3652 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #239 / 1185
- Number of attempts: 14
Com(m)a Trouble - 3993 entries
Someone was real stupid when placing his commas. Can you fix it?
- Best score: 12
- Best player score: 12
- Position: #85 / 910
- Number of attempts: 28
Box it - 8003 entries
Create a box around a line.
- Best score: 21
- Best player score: 162
- Position: #1899 / 1901
- Number of attempts: 1
Extract argument from function - 2429 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #243 / 773
- Number of attempts: 4
Search and Replace 0 - 5162 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #701 / 1675
- Number of attempts: 4
That hyphen - 2649 entries
"vim vi improved"
- Best score: 9
- Best player score: 10
- Position: #270 / 712
- Number of attempts: 6
comment and uncomment code inline - 1182 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: #132 / 332
- Number of attempts: 6
Just the middle - 11620 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #1320 / 4258
- Number of attempts: 6
Team names - 1861 entries
The team names are misspelled.
- Best score: 16
- Best player score: 16
- Position: #247 / 596
- Number of attempts: 12
Make HTML List - 1072 entries
Turn the comma separated list into an unordered html list.
- Best score: 33
- Best player score: 42
- Position: #115 / 276
- Number of attempts: 5
Missing Library and a Typo - 954 entries
I forgot to add a c library, please add it for me. Also I'm bad at typing so fix my typo too.
- Best score: 14
- Best player score: 17
- Position: #127 / 223
- Number of attempts: 15
Fiddle percentages into real numbers - 886 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: 13
- Position: #139 / 297
- Number of attempts: 3
Vice versa - 8021 entries
Little role switching.
- Best score: 12
- Best player score: 12
- Position: #515 / 2158
- Number of attempts: 12
Order and join - 1032 entries
There's something special about the input order.
- Best score: 10
- Best player score: 10
- Position: #68 / 265
- Number of attempts: 4
One to Ten - 2258 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: 19
- Position: #578 / 688
- Number of attempts: 10
citizen_hacks_2019_challenge5 - 158 entries
For the Citizen Hacks 2019 Vim competition.
- Best score: 6
- Best player score: 6
- Position: #28 / 82
- Number of attempts: 2
Join 'em - 258 entries
This shouldn't be too tough
- Best score: 4
- Best player score: 5
- Position: #129 / 157
- Number of attempts: 1
Remove quotes after first field - 411 entries
Remove the quotes around each field except for the first field.
- Best score: 16
- Best player score: 26
- Position: #83 / 96
- Number of attempts: 2
move titles next to url, in quotes - 565 entries
had trouble with something similar
- Best score: 19
- Best player score: 20
- Position: #23 / 149
- Number of attempts: 7
Space out the alphabet - 1696 entries
Put 3 spaces between adjacent letters.
- Best score: 15
- Best player score: 15
- Position: #100 / 458
- Number of attempts: 9
I forgot quotes - 16239 entries
Oops.
- Best score: 10
- Best player score: 21
- Position: #3799 / 4225
- Number of attempts: 3
quotes inside quotes - 3202 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: #332 / 1093
- Number of attempts: 6
Words in parens - 13054 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #1063 / 3991
- Number of attempts: 10
Vertical Limit - 2637 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 23
- Position: #259 / 778
- Number of attempts: 9
The Cake is a Lie - 1418 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 9
- Position: #270 / 543
- Number of attempts: 4
Whitespace, empty lines and tabs - 4054 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 24
- Position: #422 / 866
- Number of attempts: 7
Simple text editing with Vim - 13645 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 18
- Position: #2796 / 3907
- Number of attempts: 5
VimGolf