Played Challenges
New teacher - 1480 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 25
- Position: #129 / 310
- Number of attempts: 10
months to html list items - 1135 entries
Turn the months into list items.
- Best score: 22
- Best player score: 22
- Position: #34 / 307
- Number of attempts: 7
Quicksort - 2096 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: #115 / 466
- Number of attempts: 9
Populate 3D bone names list - 652 entries
Ran into this at work, excited to see how this gets optimized
- Best score: 21
- Best player score: 21
- Position: #33 / 168
- Number of attempts: 8
Remove line numbers - 779 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: 12
- Position: #68 / 206
- Number of attempts: 5
Surround the 'z' character with brackets, quotes, and print as formatted string. - 577 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
- Best score: 17
- Best player score: 17
- Position: #209 / 325
- Number of attempts: 1
Paste a column after a column - 2662 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 14
- Position: #99 / 576
- Number of attempts: 4
Reformat symbols in list - 1649 entries
Saw this in some lecture, easy reformatting using multiple cursor in VS Code
- Best score: 24
- Best player score: 24
- Position: #61 / 355
- Number of attempts: 5
Fizzbuzz - 612 entries
type the first 100 lines of the fizzbuzz problem
- Best score: 44
- Best player score: 45
- Position: #6 / 171
- Number of attempts: 21
Many duplicates - 1472 entries
Quick and easy
- Best score: 7
- Best player score: 7
- Position: #37 / 480
- Number of attempts: 4
delete swap - 1843 entries
delete all swap
- Best score: 5
- Best player score: 5
- Position: #344 / 573
- Number of attempts: 1
Fix the shell script! - 2676 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 30
- Position: #252 / 622
- Number of attempts: 5
Put a newline after every 10 lines in vim - 1681 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 10
- Position: #43 / 565
- Number of attempts: 5
Contribute to keyboard mashing - 903 entries
Speak in tongues
- Best score: 17
- Best player score: 17
- Position: #55 / 274
- Number of attempts: 6
Plotting some variables in python - 1684 entries
4 sets of (x,y) variables to plot. Just increment the numbers! Well, let's change the colors of the lines as well. Oh and we meant to plot the absolute values of course.
- Best score: 34
- Best player score: 51
- Position: #223 / 353
- Number of attempts: 1
xrandr outputs and dashes - 730 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: 21
- Position: #210 / 227
- Number of attempts: 12
One number per line - 18889 entries
Just give me the numbers.
- Best score: 14
- Best player score: 19
- Position: #2034 / 3898
- Number of attempts: 3
V to the i - 4848 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #795 / 1907
- Number of attempts: 2
remove lines containing the word "reader" - 3643 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #503 / 1181
- Number of attempts: 4
Com(m)a Trouble - 3987 entries
Someone was real stupid when placing his commas. Can you fix it?
- Best score: 12
- Best player score: 12
- Position: #174 / 907
- Number of attempts: 6
Box it - 7997 entries
Create a box around a line.
- Best score: 21
- Best player score: 21
- Position: #453 / 1897
- Number of attempts: 6
multiple cursor alternative - 1556 entries
from: https://www.reddit.com/r/vim/comments/6w5pfa/crosspost_from_remacs_how_would_you_do_this_in_vim/
- Best score: 19
- Best player score: 19
- Position: #96 / 386
- Number of attempts: 13
From argument to object - 1552 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: 17
- Position: #165 / 469
- Number of attempts: 5
Every other line - 2945 entries
AaAaAaA
- Best score: 12
- Best player score: 12
- Position: #84 / 710
- Number of attempts: 7
Array propagate - 346 entries
Complete the array with the keys as part of the value
- Best score: 23
- Best player score: 23
- Position: #27 / 123
- Number of attempts: 12
Extract argument from function - 2392 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 13
- Position: #269 / 765
- Number of attempts: 3
That hyphen - 2611 entries
"vim vi improved"
- Best score: 9
- Best player score: 9
- Position: #240 / 707
- Number of attempts: 4
Just the middle - 11572 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 7
- Position: #1508 / 4240
- Number of attempts: 2
Team names - 1858 entries
The team names are misspelled.
- Best score: 16
- Best player score: 16
- Position: #282 / 594
- Number of attempts: 3
Un"finnish"ed Work - 126 entries
Replace å by a, ä by a and ö by o.
- Best score: 14
- Best player score: 19
- Position: #56 / 62
- Number of attempts: 1
Basic renumbering - 5731 entries
Renumbering Basic.
- Best score: 11
- Best player score: 11
- Position: #276 / 1277
- Number of attempts: 12
Combines all items - 316 entries
For each line that starts with the same number I want to combine its contents
- Best score: 9
- Best player score: 9
- Position: #88 / 141
- Number of attempts: 2
Order and join - 1009 entries
There's something special about the input order.
- Best score: 10
- Best player score: 10
- Position: #83 / 263
- Number of attempts: 4
comments galore - 1079 entries
Basic comment reformatting
- Best score: 10
- Best player score: 10
- Position: #304 / 431
- Number of attempts: 14
Align commas - 1105 entries
There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.
- Best score: 11
- Best player score: 11
- Position: #98 / 248
- Number of attempts: 13
Change part of a function name in multiple occurrences - 679 entries
Change the middle part of the function name in multiple places, preferably using the next and dot commands.
- Best score: 14
- Best player score: 14
- Position: #69 / 211
- Number of attempts: 5
Increment each number - 1062 entries
Increment each number individually by one
- Best score: 15
- Best player score: 17
- Position: #93 / 257
- Number of attempts: 12
Delete to the end of the current line - 865 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 5
- Position: #265 / 415
- Number of attempts: 2
Put the months in order - 998 entries
Our contractor thought that months should be in alphabetical order. Put them in calendar order please.
- Best score: 20
- Best player score: 20
- Position: #21 / 166
- Number of attempts: 27
Array transposition - 2470 entries
Transpose two arrays into one.
- Best score: 16
- Best player score: 16
- Position: #48 / 457
- Number of attempts: 19
Mirror Symmetry - 830 entries
Add backslashes.
- Best score: 7
- Best player score: 7
- Position: #96 / 270
- Number of attempts: 8
From A to B - 603 entries
Mirror and change this text block
- Best score: 16
- Best player score: 16
- Position: #57 / 160
- Number of attempts: 9
camel riding - 796 entries
add a prefix on some camelCase variables
- Best score: 15
- Best player score: 16
- Position: #153 / 282
- Number of attempts: 3
Fix the XML - 1050 entries
The challenge consists in having a valid xml from an incomplete source.
- Best score: 18
- Best player score: 26
- Position: #204 / 291
- Number of attempts: 1
ASCII box - 365 entries
Don't forget to fix typos!
- Best score: 23
- Best player score: 24
- Position: #57 / 110
- Number of attempts: 3
Condensed Cases - 820 entries
Apple's new programming language, Swift, allows two style of case statements: 1) one Enum case on each line, or 2) multiple Enum cases on a single line. Convert the following from the first case (no pun intended) to the second type.
- Best score: 12
- Best player score: 12
- Position: #65 / 251
- Number of attempts: 5
Happy TvvO - 436 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #156 / 208
- Number of attempts: 3
-a-b-c- - 3229 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 14
- Position: #435 / 1142
- Number of attempts: 4
Change name of a variable - 180 entries
Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.
- Best score: 9
- Best player score: 9
- Position: #128 / 138
- Number of attempts: 1
Lisp Condense - 460 entries
Reduce 4 cons selection operations down to one function call.
- Best score: 13
- Best player score: 13
- Position: #58 / 158
- Number of attempts: 8
Gray area - 754 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 12
- Position: #134 / 273
- Number of attempts: 4
Neither Fizz nor Buzz - 257 entries
Not your regular increment macro! The gaps are tricky.
- Best score: 13
- Best player score: 13
- Position: #14 / 104
- Number of attempts: 4
Do you demand a shrubbery? - 1167 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 32
- Position: #295 / 304
- Number of attempts: 2
Don't know what this is - 2036 entries
Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.
- Best score: 11
- Best player score: 11
- Position: #135 / 589
- Number of attempts: 4
Where should I put the Newline? - 889 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #223 / 442
- Number of attempts: 3
Shuffle puzzle - 346 entries
Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.
- Best score: 13
- Best player score: 13
- Position: #22 / 104
- Number of attempts: 5
Going underground.... - 357 entries
Simple reformatting: in this case changing from the format London underground supplies its customers with, to the format that Google Calendar likes...
- Best score: 22
- Best player score: 23
- Position: #9 / 129
- Number of attempts: 9
A HAPPY NEW YEAR 2014 ! - 10743 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #1609 / 3710
- Number of attempts: 3
Simple text editing with Vim - 13468 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #2027 / 3865
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 7564 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 35
- Position: #417 / 1865
- Number of attempts: 6
VimGolf