Played Challenges
Swap function parameters and delete all comments in python. - 643 entries
Swap function parameters and delete all comments in python.
- Best score: 19
- Best player score: 20
- Position: #35 / 173
- Number of attempts: 2
Delete the last function argument in python. - 485 entries
Delete the last function argument in this python script.
- Best score: 6
- Best player score: 7
- Position: #99 / 178
- Number of attempts: 1
Create json from a .env file - 1637 entries
A simple everyday task.
- Best score: 38
- Best player score: 78
- Position: #296 / 401
- Number of attempts: 2
Reordering properties - 1308 entries
Arrange the CSS lines for the #topbar selector based on their complete line length, from shortest to longest.
- Best score: 24
- Best player score: 69
- Position: #131 / 293
- Number of attempts: 1
YAML to dotenv - 1581 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 33
- Position: #247 / 330
- Number of attempts: 1
Swap columns and transform to CSV format - 460 entries
Turn this spreadsheet output into a CSV file but first swap the columns
- Best score: 16
- Best player score: 19
- Position: #105 / 168
- Number of attempts: 1
Fix the git merge conflicts - 342 entries
Solve the merge conflicts in the Python file
- Best score: 36
- Best player score: 60
- Position: #63 / 102
- Number of attempts: 1
Fix the Scala Method - 350 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: 25
- Position: #67 / 117
- Number of attempts: 1
Change class fields from camel case to snake case - 651 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 23
- Position: #87 / 149
- Number of attempts: 1
Change class fields from snake case to camel case - 318 entries
Change the class fields in this Scala class from snake case to camel case
- Best score: 13
- Best player score: 13
- Position: #71 / 120
- Number of attempts: 1
Reorganize Pokémon - 858 entries
Change the format of the each line and sort alphabetically.
- Best score: 18
- Best player score: 26
- Position: #186 / 235
- Number of attempts: 2
Replace csv column if it's not empty - 293 entries
Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched
- Best score: 15
- Best player score: 21
- Position: #87 / 97
- Number of attempts: 1
extract struct tag in go - 157 entries
Can you extract all struct tags in the fewest keystrokes possible?
- Best score: 29
- Best player score: 50
- Position: #33 / 48
- Number of attempts: 2
CaN yOuR ViM dO ThAt? #2 - 106 entries
Tsoding's famous "Can your Vim do that?" https://www.youtube.com/watch?v=F4xc4jQO7ck&t=1429s
- Best score: 49
- Best player score: 87
- Position: #24 / 28
- Number of attempts: 2
CaN yOuR ViM dO ThAt? #1 - 292 entries
Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091
- Best score: 41
- Best player score: 47
- Position: #82 / 115
- Number of attempts: 3
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: 73
- Position: #62 / 82
- Number of attempts: 1
Fix timezone format - 345 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: 19
- Position: #81 / 114
- Number of attempts: 1
Search different SQL column with similar where clause - 360 entries
Replace a column in the where clause and convert all numbers from text to numeric, by replacing the leading 0 with the code 359.
- Best score: 22
- Best player score: 32
- Position: #69 / 85
- Number of attempts: 1
Move to corresponding lines - 324 entries
Move the values to the corresponding lines.
- Best score: 16
- Best player score: 39
- Position: #69 / 75
- Number of attempts: 1
Rearrange array to single level - 1811 entries
The goal is to flatten the array into a single list and remove any empty elements.
- Best score: 14
- Best player score: 27
- Position: #166 / 306
- Number of attempts: 3
Rearrange array to one line - 862 entries
Rearrange the array content on only one line, and remove trailing commas
- Best score: 13
- Best player score: 16
- Position: #67 / 202
- Number of attempts: 1
Copy punctuation - 730 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
- Best score: 19
- Best player score: 59
- Position: #146 / 178
- Number of attempts: 2
New teacher - 1502 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 30
- Position: #242 / 315
- Number of attempts: 1
Remove line numbers - 780 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: 15
- Position: #123 / 207
- Number of attempts: 1
Hogwarts Email Sorting - 951 entries
Given a list of emails, get the students full name and their associated house.
- Best score: 20
- Best player score: 26
- Position: #223 / 270
- Number of attempts: 1
Swap values inside brackets - 2546 entries
Easy challenge.
- Best score: 13
- Best player score: 23
- Position: #495 / 592
- Number of attempts: 1
remove lines containing the word "reader" - 3645 entries
easy stuff
- Best score: 9
- Best player score: 11
- Position: #953 / 1182
- Number of attempts: 2
Com(m)a Trouble - 3988 entries
Someone was real stupid when placing his commas. Can you fix it?
- Best score: 12
- Best player score: 30
- Position: #797 / 908
- Number of attempts: 1
Box it - 7998 entries
Create a box around a line.
- Best score: 21
- Best player score: 29
- Position: #1377 / 1898
- Number of attempts: 1
Extract argument from function - 2399 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 17
- Position: #651 / 767
- Number of attempts: 1
That hyphen - 2624 entries
"vim vi improved"
- Best score: 9
- Best player score: 13
- Position: #545 / 708
- Number of attempts: 1
Basic renumbering - 5731 entries
Renumbering Basic.
- Best score: 11
- Best player score: 21
- Position: #956 / 1277
- Number of attempts: 1
Vice versa - 8011 entries
Little role switching.
- Best score: 12
- Best player score: 16
- Position: #1468 / 2153
- Number of attempts: 1
Replace and keep the case - 448 entries
Replace all instance of plugin and Plugin to device and Device.
- Best score: 26
- Best player score: 36
- Position: #106 / 121
- Number of attempts: 2
One to Ten - 2248 entries
Generate the sequence of numbers from 1 to 10, one number per line. Inspired by this Reddit thread: https://redd.it/ak4it2
- Best score: 12
- Best player score: 15
- Position: #556 / 686
- Number of attempts: 1
Increment each number - 1063 entries
Increment each number individually by one
- Best score: 15
- Best player score: 30
- Position: #229 / 258
- Number of attempts: 1
Delete to the end of the current line - 866 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 6
- Position: #383 / 416
- Number of attempts: 1
Put the months in order - 1000 entries
Our contractor thought that months should be in alphabetical order. Put them in calendar order please.
- Best score: 20
- Best player score: 57
- Position: #148 / 167
- Number of attempts: 2
Array transposition - 2474 entries
Transpose two arrays into one.
- Best score: 16
- Best player score: 29
- Position: #374 / 459
- Number of attempts: 2
Space out the alphabet - 1690 entries
Put 3 spaces between adjacent letters.
- Best score: 15
- Best player score: 31
- Position: #435 / 454
- Number of attempts: 1
Mute the second method of this script - 460 entries
prepend a # infront of every line of the second method
- Best score: 8
- Best player score: 10
- Position: #224 / 242
- Number of attempts: 1
Sorting database text output - 229 entries
Sometimes it is nice to be able to quickly take column-formatted text output from the SQL command line and turn it into a list of useful data. In this case we want a unique, sorted list of the values from the second column combined into one comma-separated list. What is the fewest strokes you can do this in?
- Best score: 24
- Best player score: 30
- Position: #78 / 85
- Number of attempts: 1
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: 22
- Position: #232 / 251
- Number of attempts: 1
Happy TvvO - 438 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #161 / 210
- Number of attempts: 1
-a-b-c- - 3233 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 16
- Position: #882 / 1143
- Number of attempts: 1
Count both ways - 1035 entries
Right AND down.
- Best score: 13
- Best player score: 17
- Position: #320 / 358
- Number of attempts: 1
Do you demand a shrubbery? - 1185 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 20
- Position: #173 / 306
- Number of attempts: 1
Don't know what this is - 2044 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: 16
- Position: #547 / 591
- Number of attempts: 1
Where should I put the Newline? - 897 entries
Help me put the newline.
- Best score: 7
- Best player score: 8
- Position: #417 / 445
- Number of attempts: 1
Shuffle puzzle - 361 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: 16
- Position: #86 / 106
- Number of attempts: 1
NATO phonetic alphabet - 547 entries
Transform the series of words into a list.
- Best score: 19
- Best player score: 29
- Position: #184 / 199
- Number of attempts: 1
SFD-ROC: The Quick Brown Fox - 212 entries
Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.
- Best score: 24
- Best player score: 28
- Position: #83 / 110
- Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 445 entries
Someone has vandalized this text file and replaced the beginning character of one word in each line with a Big "X." Please remove the big X's, and fix each line to read "The Quick Brown Fox Jumps Over The Lazy Dog."
- Best score: 8
- Best player score: 12
- Position: #179 / 198
- Number of attempts: 1
SFD-ROC: vimvimvim - 1641 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 15
- Position: #423 / 456
- Number of attempts: 1
Saving the hashes(#) - 2115 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 30
- Position: #405 / 487
- Number of attempts: 1
Let's play some Ivmgolf - 1151 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 15
- Position: #445 / 456
- Number of attempts: 1
you're stuck on jQuery < 1.7 - 378 entries
replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`
- Best score: 25
- Best player score: 32
- Position: #80 / 115
- Number of attempts: 2
Vertical Limit - 2629 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 29
- Position: #664 / 775
- Number of attempts: 1
Insert a Markdown link - 466 entries
Put a link in a markdown document, using the after-the-paragraph format.
- Best score: 22
- Best player score: 28
- Position: #128 / 155
- Number of attempts: 1
Sort and add attributes - 1572 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 37
- Position: #502 / 610
- Number of attempts: 1
Reconstruct the Sentence - 1722 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
- Best score: 19
- Best player score: 25
- Position: #376 / 453
- Number of attempts: 2
Whitespace, empty lines and tabs - 3985 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 55
- Position: #821 / 852
- Number of attempts: 1
Simple text editing with Vim - 13526 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 24
- Position: #3250 / 3879
- Number of attempts: 1
Nıklas Rıeken
Twitter2:
#computerscience #optimization #vim #guitar #ukulele #kfcuerdingen #jets #mets #effectivealtruism #istillbelieve #nosteponsnek
VimGolf