38976 active golfers, 465801 entries, 586 challenges
Open VimGolf challenges
Markdown Blog Editing - 117 entries
Convert the given link text in start file to a markdown link list.
Word completion - 64 entries
Try to complete these options within 20 keystrokes.
Fix timezone format - 135 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;`
Search different SQL column with similar where clause - 83 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.
Remove adjacent duplicates - 326 entries
Try to find a way to remove adjacent duplicate letters.
Move to corresponding lines - 166 entries
Move the values to the corresponding lines.
Rearrange array to single level - 1002 entries
The goal is to flatten the array into a single list and remove any empty elements.
Rearrange array to one line - 479 entries
Rearrange the array content on only one line, and remove trailing commas
Copy punctuation - 408 entries
I want to copy the last line’s brackets, quotes, and commas to each line. How?
Change LaTex itemizations formats - 103 entries
Inspired by the way my professor formats their LaTeX assignments.
Column wise pasting - 123 entries
Make a table from 3 columns
Deleting text - 210 entries
Delete everything except some specific numbers.
Resolve the spreadsheet - 21 entries
Replace the formulas in column C with the resulting values. Divisions by zero result in NaN. Operations with NaN also result in NaN.
Case matching substitution - 43 entries
Swap every "lorem" for "ipsum", keeping the letter cases the same.
Define Gray code states - 30 entries
List the states using Gray code and assign Gray code values to each state.
Hex to binary - 77 entries
Convert hexadecimal numbers into binary format.
Count words - 49 entries
Merge duplicates and count each word.
String decompression - 27 entries
3a4b2c => aaabbbbcc. Start a new line when you exceed 79 columns.
Reverse even lines - 32 entries
Reverse only the even lines without altering the odd lines.
Format a long line - 65 entries
Reformat long lines (gq), textwidth=78, no trailing spaces.
Evil Numbers - 71 entries
Print the first 100 evil numbers https://oeis.org/A001969. This is an advert for code.golf https://code.golf/evil-numbers#viml
Mirror image - 64 entries
Add the second eye
Find anomalies - 125 entries
There is one special character per line
Coordinate extraction - 51 entries
Get the coordinates of all "M"s from the Vim logo
Morse - 131 entries
Translate Morse code to Text
New teacher - 811 entries
Update the details of the new CS teacher.
Truth Table to ModelSim - 57 entries
Convert this truth table to simulator instructions!
Replace word while reserving first letter case - 563 entries
Window -> Door window -> door Windows -> Windows windows -> windows
months to html list items - 932 entries
Turn the months into list items.
Instance creation in Verilog - 41 entries
Creating an instance of a module is a very frequent task in Verilog. Let's see how efficiently can it be done
Quicksort - 1854 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.
EDN reformat - 1105 entries
The goal is to make the code more readable and concise while maintaining its functionality.
Tic-Tac-Toe Grid Transformation - 381 entries
Your mission is to efficiently convert the original Tic-Tac-Toe grid, represented by 'x's and 'o's, into a neat and well-organized game board.
Pick and sort servers from mirror list - 398 entries
Retrieve the primary server for each country from a mirror list file and organize them alphabetically by country name. Given a mirror list file containing server information for various countries, the objective is to extract the primary server from each country and then arrange these servers in alphabetical order based on the respective country names.
Populate 3D bone names list - 580 entries
Ran into this at work, excited to see how this gets optimized
Remove line numbers - 682 entries
From http://web.archive.org/web/20140831121704/http://dirac.org/linux/gdb/02a-Memory_Layout_And_The_Stack.php#investigatingthestackwithgdb.
Find fix point of cos - 1313 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.
Insert column data on Confluence-style table - 444 entries
Add ip addresses into new "IP" column based on the last digits from the "Server" column
Surround the 'z' character with brackets, quotes, and print as formatted string. - 533 entries
Surround the 'z' character with brackets, quotes, and print as formatted string.
Easier Align - 381 entries
Align the columns of a markdown table
Paste a column after a column - 2490 entries
This task is very common while using multi-cursor. What is the elegant vim way ?
Filter number combinations that don't add to 11 - 401 entries
Append the sum of each line to its end, alongside an equals sign, and remove any that do not sum to 11. The ordering of lines should stay the same. Note that the combinations are semi-arbitrary and not all 4-number combinations are present in the file.
Tabbed Table to Python Array - 706 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
HS exam question - 1560 entries
Convert the data to a python dictionary
Reformat symbols in list - 1581 entries
Saw this in some lecture, easy reformatting using multiple cursor in VS Code
Fizzbuzz - 557 entries
type the first 100 lines of the fizzbuzz problem
Substraction (bis) - 584 entries
Solve the equations (adapted from the original @Caek_'s challenge).
Changing around text with citations - 327 entries
Based off of something I saw on reddit
Poorly indented Python comments - 1307 entries
Fix the alignment of some Python comments as quickly as possible.
Many duplicates - 1429 entries
Quick and easy