Played Challenges
Convert list of enums to list of localization terms - 228 entries
While making my game Piloteer, I had a large list of TaskTypes and needed to convert them to an equivalent list of localization terms, to be used when translating the game's text into different languages.
- Best score: 75
- Best player score: 274
- Position: #69 / 69
- Number of attempts: 1
From brakets to parens - 1306 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 43
- Position: #219 / 295
- Number of attempts: 11
Create json from a .env file - 1716 entries
A simple everyday task.
- Best score: 38
- Best player score: 81
- Position: #319 / 416
- Number of attempts: 14
YAML to dotenv - 1637 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 34
- Position: #262 / 342
- Number of attempts: 19
CaN yOuR ViM dO ThAt? #1 - 297 entries
Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091
- Best score: 41
- Best player score: 57
- Position: #112 / 118
- Number of attempts: 1
Move list of uuids into a SQL query - 245 entries
Take the list of UUIDs and use them as a filter in the where statement of a SQL query
- Best score: 57
- Best player score: 76
- Position: #72 / 82
- Number of attempts: 5
Markdown Blog Editing - 485 entries
Convert the given link text in start file to a markdown link list.
- Best score: 30
- Best player score: 99
- Position: #104 / 117
- Number of attempts: 3
Rearrange array to single level - 1829 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 34
- Position: #227 / 307
- Number of attempts: 11
New teacher - 1527 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 28
- Position: #214 / 319
- Number of attempts: 5
months to html list items - 1151 entries
Turn the months into list items.
- Best score: 22
- Best player score: 36
- Position: #271 / 311
- Number of attempts: 7
Quicksort - 2113 entries
We need the numbers in the first row sorted as quickly as possible! Be careful not to disturb the data below the divider though: that must remain unchanged.
- Best score: 6
- Best player score: 26
- Position: #321 / 472
- Number of attempts: 6
Remove line numbers - 786 entries
From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.
- Best score: 8
- Best player score: 109
- Position: #206 / 209
- Number of attempts: 1
Find fix point of cos - 1485 entries
Write a function to find the fix point of cos. It is not a good code; It is just to use vim. Inspired by the excellent https://mvanier.livejournal.com/2897.html about the Y combinator.
- Best score: 14
- Best player score: 23
- Position: #351 / 434
- Number of attempts: 10
simple replacements - 1885 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 24
- Position: #236 / 403
- Number of attempts: 4
Inverting Lines - 1961 entries
A simple challenge to invert all lines, except the first.
- Best score: 10
- Best player score: 14
- Position: #384 / 526
- Number of attempts: 5
CSV to MD format - 450 entries
To convert a CSV list to Markdown list
- Best score: 36
- Best player score: 117
- Position: #88 / 99
- Number of attempts: 7
Python dataclasses - 1253 entries
Simple challenge to extract fields from a Python class
- Best score: 19
- Best player score: 32
- Position: #252 / 313
- Number of attempts: 10
Modernise code - 1439 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 98
- Position: #320 / 333
- Number of attempts: 3
swap number pairs - 2173 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 49
- Position: #357 / 394
- Number of attempts: 6
HS Final exam vimgolf - 936 entries
Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.
- Best score: 21
- Best player score: 35
- Position: #184 / 245
- Number of attempts: 10
Aliases for cd - 913 entries
Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?
- Best score: 30
- Best player score: 88
- Position: #148 / 160
- Number of attempts: 4
Unsemantic linewrapping - 964 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: 39
- Position: #237 / 238
- Number of attempts: 1
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: 31
- Position: #206 / 266
- Number of attempts: 7
Bad Copy Syntax - 2088 entries
Copy should be from right to left, but sometimes you type it wrong.
- Best score: 18
- Best player score: 51
- Position: #524 / 543
- Number of attempts: 4
Box it - 8003 entries
Create a box around a line.
- Best score: 21
- Best player score: 28
- Position: #1299 / 1901
- Number of attempts: 8
html paragraph to table - 635 entries
reformat html paragraph to table
- Best score: 48
- Best player score: 120
- Position: #127 / 131
- Number of attempts: 3
From argument to object - 1566 entries
This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?
- Best score: 17
- Best player score: 34
- Position: #464 / 471
- Number of attempts: 3
Line under headers - 2095 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 36
- Position: #408 / 515
- Number of attempts: 4
Increment each number - 1067 entries
Increment each number individually by one
- Best score: 15
- Best player score: 43
- Position: #250 / 260
- Number of attempts: 3
Around the clock - 220 entries
You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes
- Best score: 13
- Best player score: 16
- Position: #73 / 81
- Number of attempts: 6
Delete to the end of the current line - 882 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 5
- Position: #287 / 418
- Number of attempts: 6
Remove quotes after first field - 411 entries
Remove the quotes around each field except for the first field.
- Best score: 16
- Best player score: 28
- Position: #93 / 96
- Number of attempts: 7
Array transposition - 2481 entries
Transpose two arrays into one.
- Best score: 16
- Best player score: 73
- Position: #450 / 461
- Number of attempts: 3
VimGolf