Played Challenges
Rearrange array to single level - 1563 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 69
- Position: #238 / 258
- Number of attempts: 1
Copy punctuation - 599 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 85
- Position: #134 / 149
- Number of attempts: 2
Quicksort - 2038 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: 6
- Position: #77 / 452
- Number of attempts: 10
Populate 3D bone names list - 636 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 27
- Position: #70 / 164
- Number of attempts: 3
Find fix point of cos - 1432 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: #198 / 424
- Number of attempts: 4
Paste a column after a column - 2610 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 16
- Position: #188 / 566
- Number of attempts: 6
HS exam question - 1596 entries
Convert the data to a python dictionary
- Best score: 47
- Best player score: 107
- Position: #352 / 418
- Number of attempts: 2
Many duplicates - 1459 entries
Quick and easy
- Best score: 7
- Best player score: 8
- Position: #273 / 476
- Number of attempts: 5
Fix the shell script! - 2606 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 30
- Position: #242 / 607
- Number of attempts: 7
One number per line - 18801 entries
Just give me the numbers.
- Best score: 14
- Best player score: 29
- Position: #3638 / 3882
- Number of attempts: 2
Every other line - 2922 entries
AaAaAaA
- Best score: 12
- Best player score: 20
- Position: #625 / 706
- Number of attempts: 1
comment and uncomment code inline - 1151 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: #165 / 328
- Number of attempts: 6