Played Challenges
Fix the Scala Method - 375 entries
Fix the missing semicolons and the Int type, ensure the floating point division, and remove the unnecessary return.
- Best score: 2
- Best player score: 23
- Position: #55 / 124
- Number of attempts: 5
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: 74
- Position: #63 / 82
- Number of attempts: 3
Markdown Blog Editing - 485 entries
Convert the given link text in start file to a markdown link list.
- Best score: 30
- Best player score: 61
- Position: #86 / 117
- Number of attempts: 1
Word completion - 310 entries
Try to complete these options within 20 keystrokes.
- Best score: 20
- Best player score: 164
- Position: #78 / 84
- Number of attempts: 1
Fix timezone format - 372 entries
Add the missing T and Z in the datetime field. There should be a T instead of the space, and a Z at the end of the datetime. `2024-08-31 18:32:00;` -> `2024-08-31T18:32:00Z;`
- Best score: 15
- Best player score: 16
- Position: #29 / 120
- Number of attempts: 3
Remove adjacent duplicates - 727 entries
Try to find a way to remove adjacent duplicate letters.
- Best score: 19
- Best player score: 38
- Position: #135 / 182
- 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: 24
- Position: #130 / 307
- Number of attempts: 4
Rearrange array to one line - 889 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 15
- Position: #59 / 205
- Number of attempts: 4
Copy punctuation - 743 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 48
- Position: #132 / 182
- Number of attempts: 3
Column wise pasting - 268 entries
Make a table from 3 columns
- Best score: 17
- Best player score: 27
- Position: #33 / 58
- Number of attempts: 5
Deleting text - 350 entries
Delete everything except some specific numbers.
- Best score: 26
- Best player score: 45
- Position: #49 / 113
- Number of attempts: 2
New teacher - 1527 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 21
- Position: #60 / 319
- Number of attempts: 6
months to html list items - 1151 entries
Turn the months into list items.
- Best score: 22
- Best player score: 25
- Position: #135 / 311
- Number of attempts: 6
EDN reformat - 1222 entries
The goal is to make the code more readable and concise while maintaining its functionality.
- Best score: 17
- Best player score: 22
- Position: #101 / 173
- Number of attempts: 14
Populate 3D bone names list - 656 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 30
- Position: #101 / 169
- Number of attempts: 3
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: 147
- Position: #430 / 434
- Number of attempts: 1
Insert column data on Confluence-style table - 503 entries
Add ip addresses into new "IP" column based on the last digits from the "Server" column
- Best score: 33
- Best player score: 100
- Position: #103 / 114
- Number of attempts: 1
Surround the 'z' character with brackets, quotes, and print as formatted string. - 582 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #226 / 328
- Number of attempts: 1
Easier Align - 449 entries
Align the columns of a markdown table
- Best score: 51
- Best player score: 380
- Position: #85 / 101
- Number of attempts: 1
Paste a column after a column - 2668 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 19
- Position: #307 / 578
- Number of attempts: 3
Tabbed Table to Python Array - 777 entries
Not payed by the hour? So make it fast ;-) The table contains the relative occurencies of bigrams (two consecutive letters) in 1/100,000 in the german language, copy-pasted from http://www.mathe.tu-freiberg.de/~hebisch/cafe/kryptographie/bigramme.html
- Best score: 50
- Best player score: 67
- Position: #142 / 186
- Number of attempts: 2
delete swap - 1912 entries
delete all swap
- Best score: 5
- Best player score: 6
- Position: #433 / 580
- Number of attempts: 4
Put a newline after every 10 lines in vim - 1688 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 11
- Position: #197 / 567
- Number of attempts: 5
hello-world-vimgolf - 2533 entries
Simple number generation
- Best score: 10
- Best player score: 11
- Position: #435 / 726
- Number of attempts: 2
Fill in the chess board - 980 entries
Fill in the name of each square using its file (a-h) and rank (1-8).
- Best score: 19
- Best player score: 41
- Position: #122 / 187
- Number of attempts: 3
Easy modification of ssh config - 406 entries
Just add another alias to each worker
- Best score: 24
- Best player score: 27
- Position: #62 / 119
- Number of attempts: 4
Rural Post - 4602 entries
Simple challenge to remove all but the post code on each line
- Best score: 9
- Best player score: 13
- Position: #681 / 1124
- Number of attempts: 1
Multiline to Single Line - 754 entries
Convert a multiline, indented file to a single line with no whitespace
- Best score: 5
- Best player score: 5
- Position: #257 / 322
- Number of attempts: 4
Yo To Hello - 1156 entries
Simply Turn Yo To Hello
- Best score: 8
- Best player score: 10
- Position: #403 / 537
- Number of attempts: 2
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: 9
- Position: #104 / 238
- Number of attempts: 7
Applying same text modification in several lines - 2931 entries
Remove identical text at the beginning of several lines and the closing parenthesis.
- Best score: 12
- Best player score: 13
- Position: #274 / 867
- 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: #163 / 332
- Number of attempts: 4
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: 22
- Position: #191 / 223
- Number of attempts: 3
Simple addition - 351 entries
The right side of the equation is already there. We just need the left one now.
- Best score: 12
- Best player score: 13
- Position: #83 / 128
- Number of attempts: 1
Line under headers - 2095 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 40
- Position: #457 / 515
- Number of attempts: 3
replacing each line of a block selection - 3068 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 19
- Position: #235 / 789
- Number of attempts: 9
switch variable - 5128 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #671 / 1764
- Number of attempts: 2
Multiplication table. - 240 entries
Create a multiplication table.
- Best score: 31
- Best player score: 404
- Position: #70 / 70
- Number of attempts: 1
Numbering a List - 1969 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 13
- Position: #88 / 661
- Number of attempts: 2
Assignment Alignment - 909 entries
line up the operators. Use spaces, not tabs.
- Best score: 18
- Best player score: 31
- Position: #193 / 226
- Number of attempts: 4
VimGolf