Played Challenges
From brakets to parens - 781 entries
This is one of the most common problem when you wrap an array for error handling. Vim is useful when you convert foo[i][j][k] into foo(i, j, k) for many times.
- Best score: 24
- Best player score: 26
- Position: #60 / 175
- Number of attempts: 7
Create json from a .env file - 1428 entries
A simple everyday task.
- Best score: 39
- Best player score: 42
- Position: #58 / 333
- Number of attempts: 8
Reordering properties - 1098 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: 44
- Position: #56 / 255
- Number of attempts: 10
Changing date formats - 664 entries
Change the date format to Y/M/D.
- Best score: 37
- Best player score: 53
- Position: #45 / 180
- Number of attempts: 7
YAML to dotenv - 1325 entries
Convert this YAML config file to a .env file.
- Best score: 16
- Best player score: 17
- Position: #76 / 275
- Number of attempts: 4
Swap columns and transform to CSV format - 403 entries
Turn this spreadsheet output into a CSV file but first swap the columns
- Best score: 16
- Best player score: 17
- Position: #66 / 149
- Number of attempts: 1
Generate an entry for each month - 356 entries
The input file contains a URI with a month in it. Generate the URIs for all the other months up to a couple of years
- Best score: 27
- Best player score: 39
- Position: #33 / 87
- Number of attempts: 2
Fix the Scala Method - 296 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: 22
- Position: #40 / 94
- Number of attempts: 3
Change class fields from camel case to snake case - 534 entries
This is the reverse of the previous challenge: https://www.vimgolf.com/challenges/9v006705493c000000000513
- Best score: 18
- Best player score: 19
- Position: #48 / 123
- Number of attempts: 2
Reorganize Pokémon - 727 entries
Change the format of the each line and sort alphabetically.
- Best score: 18
- Best player score: 21
- Position: #120 / 200
- Number of attempts: 3
Replace csv column if it's not empty - 255 entries
Replace the credit_score_percentile column with the value 0.0 but leave the empty ones untouched
- Best score: 15
- Best player score: 15
- Position: #36 / 87
- Number of attempts: 6
CaN yOuR ViM dO ThAt? #1 - 250 entries
Tsoding's famous "Can your Vim do that?" https://youtu.be/Bafo3hhheHU?si=DfcT4sUEMTSAevnx&t=1091
- Best score: 41
- Best player score: 41
- Position: #21 / 97
- Number of attempts: 2
Move list of uuids into a SQL query - 214 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: 61
- Position: #14 / 69
- Number of attempts: 5
Markdown Blog Editing - 444 entries
Convert the given link text in start file to a markdown link list.
- Best score: 30
- Best player score: 38
- Position: #33 / 103
- Number of attempts: 3
Search different SQL column with similar where clause - 315 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: 22
- Position: #17 / 70
- Number of attempts: 6
Move to corresponding lines - 305 entries
Move the values to the corresponding lines.
- Best score: 16
- Best player score: 18
- Position: #19 / 68
- Number of attempts: 6
Count words - 103 entries
Merge duplicates and count each word.
- Best score: 39
- Best player score: 50
- Position: #9 / 24
- Number of attempts: 5
Mirror image - 125 entries
Add the second eye
- Best score: 15
- Best player score: 21
- Position: #17 / 36
- Number of attempts: 2
New teacher - 1448 entries
Update the details of the new CS teacher.
- Best score: 19
- Best player score: 23
- Position: #98 / 303
- Number of attempts: 6
Replace word while reserving first letter case - 663 entries
Window -> Door window -> door Windows -> Windows windows -> windows
- Best score: 24
- Best player score: 24
- Position: #29 / 126
- Number of attempts: 4
months to html list items - 1119 entries
Turn the months into list items.
- Best score: 22
- Best player score: 24
- Position: #107 / 303
- Number of attempts: 3
Quicksort - 2077 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: #140 / 462
- Number of attempts: 4
EDN reformat - 1209 entries
The goal is to make the code more readable and concise while maintaining its functionality.
- Best score: 17
- Best player score: 18
- Position: #82 / 170
- Number of attempts: 14
Remove line numbers - 772 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: #84 / 203
- Number of attempts: 5
Find fix point of cos - 1458 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: #268 / 430
- Number of attempts: 1
Paste a column after a column - 2653 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
- Best score: 14
- Best player score: 16
- Position: #200 / 574
- Number of attempts: 5
Tabbed Table to Python Array - 769 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: 54
- Position: #50 / 184
- Number of attempts: 3
HS exam question - 1610 entries
Convert the data to a python dictionary
- Best score: 47
- Best player score: 59
- Position: #120 / 420
- Number of attempts: 3
Many duplicates - 1472 entries
Quick and easy
- Best score: 7
- Best player score: 8
- Position: #324 / 480
- Number of attempts: 1
delete swap - 1829 entries
delete all swap
- Best score: 5
- Best player score: 5
- Position: #390 / 569
- Number of attempts: 1
Generate a very basic Python constructor (fixed) - 1290 entries
Original by @BiddulphCaleb (http://www.vimgolf.com/challenges/6019f1c4642668000cee11e8) - had some extra spaces in output file.
- Best score: 29
- Best player score: 36
- Position: #89 / 276
- Number of attempts: 4
Fix the shell script! - 2660 entries
Fix the shell script with the fewest keystrokes!
- Best score: 26
- Best player score: 30
- Position: #254 / 617
- Number of attempts: 3
Visual block training - 1116 entries
You see the input. You see the output. Go.
- Best score: 17
- Best player score: 18
- Position: #45 / 208
- Number of attempts: 7
Put a newline after every 10 lines in vim - 1675 entries
Goal is to put a newline after every 10 lines in vim.
- Best score: 10
- Best player score: 11
- Position: #211 / 562
- Number of attempts: 3
Wikitext headings to markdown - 1026 entries
Convert the wikitext headings to markdown.
- Best score: 20
- Best player score: 20
- Position: #52 / 212
- Number of attempts: 11
hello-world-vimgolf - 2519 entries
Simple number generation
- Best score: 10
- Best player score: 10
- Position: #346 / 720
- Number of attempts: 1
Contribute to keyboard mashing - 903 entries
Speak in tongues
- Best score: 17
- Best player score: 20
- Position: #212 / 274
- Number of attempts: 2
Plotting some variables in python - 1681 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: 40
- Position: #129 / 351
- Number of attempts: 2
Enumerate Bullets - 337 entries
We will need to refer to the bullet points in our document explicitly later, so we need to assign them some ID's!
- Best score: 18
- Best player score: 24
- Position: #53 / 91
- Number of attempts: 3
swap number pairs - 2162 entries
Swap the numbers in a bunch of 2-element arrays.
- Best score: 16
- Best player score: 19
- Position: #144 / 391
- Number of attempts: 6
Hogwarts Email Sorting - 944 entries
Given a list of emails, get the students full name and their associated house.
- Best score: 20
- Best player score: 22
- Position: #180 / 267
- Number of attempts: 3
Add text at some column - 174 entries
Complete golang struct statement.
- Best score: 31
- Best player score: 34
- Position: #54 / 66
- Number of attempts: 1
prepend * to every non-blank line - 6366 entries
Prepend an asterisk to every non-blank line in the input file.
- Best score: 10
- Best player score: 11
- Position: #767 / 1555
- Number of attempts: 3
One number per line - 18834 entries
Just give me the numbers.
- Best score: 14
- Best player score: 14
- Position: #776 / 3892
- Number of attempts: 4
SCREAMING_SNAKE_CASE to Title Case - 1253 entries
Convert strings in SCREAMING_SNAKE_CASE to Title Case. Examples: EMPLOYEE_NAME -> Employee Name REVENUE_YEAR_TO_DATE -> Revenue Year To Date SALARY -> Salary
- Best score: 19
- Best player score: 27
- Position: #148 / 261
- Number of attempts: 3
Remember FizzBuzz? - 760 entries
Output FizzBuzz to 100. Start with nothing.
- Best score: 39
- Best player score: 50
- Position: #58 / 201
- Number of attempts: 4
VimGolf