Played Challenges
Paste a column after a column - 2557 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 17
- Position: #228 / 558
- Number of attempts: 8
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: 24
- Position: #3054 / 7447
- Number of attempts: 3
Swap values - 4643 entries
Well, swap the values...
- Best score: 11
- Best player score: 12
- Position: #494 / 1274
- Number of attempts: 7
One number per line - 18776 entries
Just give me the numbers.
- Best score: 14
- Best player score: 20
- Position: #2256 / 3875
- Number of attempts: 4
Unsemantic linewrapping - 928 entries
[Inspired by a blog post I read: https://scott.mn/2014/02/21/semantic_linewrapping/. Text adapted.] Sometimes when editing a Markdown file, I wrap the lines semantically. Instead of inserting a newline at 70 columns (or whatever), or making paragraphs one long line, I put in newlines at a point that seems logical to me. This may seem silly, but it produces better diffs. Semantic linewrapping also makes editing snappier. I can delete, edit or insert sentences easily using linewise operations. Code-oriented text editors like Vim and [REDACTED] are really good at this kind of manipulation. Editing text that hasn't been wrapped semantically is a pain, though:
- Best score: 9
- Best player score: 10
- Position: #123 / 231
- Number of attempts: 4
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: 15
- Position: #536 / 857
- Number of attempts: 2
SCREAMING_SNAKE_CASE to Title Case - 1216 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: 20
- Position: #79 / 251
- Number of attempts: 9
Add semicolons - 10887 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 10
- Position: #246 / 3074
- Number of attempts: 5
Just the middle - 11495 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #2938 / 4213
- Number of attempts: 1
Collect List - 4308 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 12
- Position: #447 / 1192
- Number of attempts: 2
VimGolfNight - 570 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #275 / 350
- Number of attempts: 5
I forgot quotes - 16038 entries
Oops.
- Best score: 10
- Best player score: 15
- Position: #2382 / 4192
- Number of attempts: 7
Words in parens - 12967 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #1035 / 3969
- Number of attempts: 3
Append semicolon after expressions - 1056 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 12
- Position: #256 / 419
- Number of attempts: 3
Simple text editing with Vim - 13013 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 18
- Position: #2679 / 3744
- Number of attempts: 1
Homo Ludens
Twitter: @BsMainly
Dom genoeg te denken dat ik slim ben. Slim genoeg te weten dat ik dom ben. Spel en Beweging. Niet mooier dan het is. Eerlijkheid is beter dan genezen.