34330 active golfers, 416182 entries, 546 challenges
Open VimGolf challenges
HS Final exam vimgolf - 782 entries
Change the initial file to a single line containing all names comma-separated with numbers inside parentheses.
Extend shell script - 92 entries
Just add some more stuff
Easy modification of ssh config - 289 entries
Just add another alias to each worker
ssh config skills - 222 entries
Parse output from `kuebctl get no -o wide` into an .ssh/config file!
Change double quotes to single quotes, but with a twist - 263 entries
Although this challenge is in the context of a Python function, you don't need to know Python to do this challenge. It is to add contexts and interesting constraints. The file contains a function that prints a multi-line string literal. I wrote the string literal with double quotes, but then I decided to use single quotes instead, and that's your challenge. However, interestingly enough, the string itself contains single and double quotes. This means, inside the string literal, the originally escaped double quotes no longer need to be escaped, but the single quotes now need to be escaped. Note that the triple double quotes in the docstring should be left alone.
C to python code snippet - 70 entries
C code can be easily translated into Python code. However, the difference in syntax can make this process tedious and time-consuming. Can Vim help you here?
Mr. Hacker - 76 entries
Elvin is hacker. He has piece of users database from some social net site. Recently he installed Vim, and he wants to convert CSV DB to specific format `key=value' where `key' is login and `value' is password, but password in DB is encrypted in ROT13. Help him.
Python: Def to Lambda - 396 entries
LAMBDA!!!
Turn the x - 270 entries
Turn the x to a +
Format the CSS - 109 entries
You just copied some CSS color names from the web and need to add them to your python module. Create the COLORS variable and assign a dict() with the names as keys and hex-colors as values. BEWARE OF THE TABS!!
Rural Post - 4197 entries
Simple challenge to remove all but the post code on each line
Levenshtein distance - 86 entries
Compute distance for each pair. Notice that this recursive implementation is very inefficient. Wagner-Fischer algorithm is iterative and much faster. #vimscript
Satisfy the go linter - 2041 entries
You just came up with this briliant go vars package. But dang, you forgot to add comments to the exported variables. Can you add a comment over each variable with a TODO-placeholder?
Add quotes to ansible playbook - 829 entries
You created an ansible playbook, but forgot to add quotes. Can you fix it?
Multiline to Single Line - 554 entries
Convert a multiline, indented file to a single line with no whitespace
Data reformat - 251 entries
Reformat this copy-paste data! #csv
xrandr outputs and dashes - 619 entries
uh oh, different video drivers identify display outputs with more dashes. Quick, need to change this xrandr script!
From a Thunderlink to a Markdown link - 712 entries
ThunderLinks are durable hyperlinks to specific email messages generated from Thunderbird in HTML format. Leverage the power of vim to make them suitable for a markdown-formatted file.
Capitalize the Names - 328 entries
I want to capitalize the names in quotes, but just the people's names, not the file names.
Yo To Hello - 1069 entries
Simply Turn Yo To Hello
C# function to F# - 22 entries
Converting from C# to F# is not hard, but requires some manual labor. Here you should convert a C# function using a C# class to a F# function using a C# class.
C# data class to F# record - 56 entries
Converting from C# to F# is not hard, but requires some manual labor. Here you should convert from a C# data class to a F# record.
Replace pattern with 1, 2, 3, ... on each line - 1048 entries
For each line replace a search pattern (in this case $) with numbers starting at 1 and then increasing by 1 for each replaced match. a$b$c$ -> a0b1c2
Alphabet soup - 400 entries
Create a column of all alphabet characters organized in a funky way
Reconstruct the actual output from my unit test tool report - 135 entries
When a test fails, my unit test tool reports differences between the actual output and the expected output as follow: - line in the expected output but missing in the actual output are prefixed with a dash - unexpected lines in the actual output are prefixed with a plus sign - comments added by the unit test tool are prefixed with a question mark - common lines are showed `as-is` (well, almost;) From that "diff" format, I would like to reconstruct the actual output.
Right Align Part of the line - 96 entries
The challenge is to right align a part of the line - this is useful in some SQL queries where it's more clear which are the fields displayed
Get mail address from outlook format - 603 entries
Create a mail list space separated of mail list formatted by outlook
add line and index - 81 entries
a missed line and index names need to be added
prepend * to every non-blank line - 6081 entries
Prepend an asterisk to every non-blank line in the input file.
Quote modules (ver.2) - 197 entries
Complete golang import statement.
Add text at some column - 146 entries
Complete golang struct statement.
Quote modules - 1023 entries
Complete golang import statement.
Triangle of arrows - 144 entries
I made this by accident when working on another challenge. How would you go about making this?
Aliases for cd - 819 entries
Create these beautiful aliases with as few strokes as possible. Are you up for the challenge?
Hogwarts Email Sorting - 841 entries
Given a list of emails, get the students full name and their associated house.
Refactor typescript arrow function type - 295 entries
Make arrow function type less verbose and easier to read
Back to the Future - 3 entries
We can't just time-travel around without first making sure our code is pretty and columns are aligned. And keeping lines with at most 80 characters should help if we ever need to review the code while we're stuck in the past. This is my first challenge. I tried being creative and even did a bit of research, so I hope you enjoy it.
Comparing Schema With Diff - 50 entries
Sometimes databases output things differently one to another. Fixing things that are out of order will make the diffs more usable.
SCREAMING_SNAKE_CASE to Title Case - 1124 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
Line under headers - 1933 entries
Put a line under each header, and remove the other markdown formatting.
calculations - 256 entries
Complete these (weird) calculations.
citizen_hacks_2019_part9 - 16 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part6 - 19 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part5 - 15 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part4 - 10 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part3 - 15 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part2 - 18 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_part1 - 35 entries
For the Citizen Hacks 2019 Vim competition
citizen_hacks_2019_challenge6 - 53 entries
For the Citizen Hacks 2019 Vim competition.
citizen_hacks_2019_challenge5 - 123 entries
For the Citizen Hacks 2019 Vim competition.