Played Challenges
Filling braces - 481 entries
Inspired by a question on CoDidact (https://software.codidact.com/posts/296501), I wondered if Vim could offer a satisfactory ‘solution’ to this problem.
- Best score: 21
- Best player score: 24
- Position: #23 / 157
- Number of attempts: 6
Even and Odd - 393 entries
separate the even numbers from the odd numbers
- Best score: 13
- Best player score: 17
- Position: #41 / 101
- Number of attempts: 1
Swap function parameters and delete all comments in python. - 1073 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 27
- Position: #146 / 262
- Number of attempts: 3
Flip All Bits - 503 entries
Perform a bitwise NOT operation on each bit, meaning that bits that are 0 become 1, and those that are 1 become 0.
- Best score: 24
- Best player score: 58
- Position: #121 / 144
- Number of attempts: 1
Quicksort - 2114 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: 39
- Position: #414 / 473
- Number of attempts: 1
Populate 3D bone names list - 661 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 37
- Position: #137 / 172
- Number of attempts: 2
Remove line numbers - 791 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: 13
- Position: #99 / 210
- Number of attempts: 4
Find fix point of cos - 1486 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: 15
- Position: #184 / 435
- Number of attempts: 2
Surround the 'z' character with brackets, quotes, and print as formatted string. - 584 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #160 / 330
- Number of attempts: 2
Paste a column after a column - 2672 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 7
- Best player score: 23
- Position: #384 / 580
- Number of attempts: 1
Reformat symbols in list - 1661 entries
Saw this in some lecture, easy reformatting using multiple cursor in VS Code
- Best score: 24
- Best player score: 44
- Position: #305 / 358
- Number of attempts: 2
delete swap - 1918 entries
delete all swap
- Best score: 5
- Best player score: 5
- Position: #299 / 583
- Number of attempts: 3
Fix the shell script! - 2710 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 43
- Position: #473 / 637
- Number of attempts: 1
Visual block training - 1126 entries
You see the input. You see the output. Go.
- Best score: 17
- Best player score: 35
- Position: #109 / 210
- Number of attempts: 1
hello-world-vimgolf - 2535 entries
Simple number generation
- Best score: 6
- Best player score: 10
- Position: #302 / 728
- Number of attempts: 3
Learn to ask for :help - 596 entries
Learn to use the help to reduce your strokes...
- Best score: 19
- Best player score: 36
- Position: #99 / 132
- Number of attempts: 1
simple replacements - 1910 entries
The goal is to see the replacement commands in action.
- Best score: 19
- Best player score: 23
- Position: #215 / 417
- Number of attempts: 5
Python dataclasses - 1277 entries
Simple challenge to extract fields from a Python class
- Best score: 19
- Best player score: 39
- Position: #292 / 325
- Number of attempts: 1
Modernise code - 1439 entries
Modernise and clean up some C++ code.
- Best score: 34
- Best player score: 41
- Position: #146 / 333
- Number of attempts: 7
Multiline to Single Line - 766 entries
Convert a multiline, indented file to a single line with no whitespace
- Best score: 5
- Best player score: 5
- Position: #229 / 334
- Number of attempts: 3
xrandr outputs and dashes - 754 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: #144 / 229
- Number of attempts: 10
Simple, Practical, and Common - 34031 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: 27
- Position: #4104 / 7520
- Number of attempts: 3
VimGolf