30157 active golfers, 368409 entries, 507 challenges
Open VimGolf challenges
Put a cross in the square - 33 entries
Put a cross in the square
Do you demand a shrubbery? - 1066 entries
Use :redir and crush the emacsgolfers.
Mess in revision history - 1102 entries
Help Joe clean up what Steve has cobbled.
Preferably without multi-cursor plugin - 376 entries
Originally asked as question on reddit by kpthunder: https://www.reddit.com/r/vim/comments/9fvsro/what_is_the_most_efficient_way_to_go_about/
Learn some german verbs - 450 entries
The list needs to be structured so we can print in verbatim and feel ok about how it looks.
Fix the XML - 921 entries
The challenge consists in having a valid xml from an incomplete source.
Scrambled numbers - 766 entries
Four is NOT 1. One is 1.
C Reformatting - 675 entries
You may use Visual mode... or not. #uppercase
Count both ways - 932 entries
Right AND down.
Extend shell script - 36 entries
Just add some more stuff
calculations - 199 entries
Complete these (weird) calculations.
change parenthesis - 221 entries
change the pair of braces into a pair of parentheses
Remove quotes after first field - 229 entries
Remove the quotes around each field except for the first field.
remove dupes from array - 1260 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
Song Transcription Oops - 197 entries
When transcribing vocal music to Canjo Tab you can start by finding the lowest note and assigning that to zero and working your way up from there. However, without fail, I tend to miscount the notes and when I am near done I find a lower note. I mark this with a "z". This means I have to increase all the previous ones by 1. just a sting of numbers :)
Mirror Symmetry - 739 entries
Add backslashes.
Build a six - 259 entries
Just enjoy building "a" floors...
Hole-in-one - 963 entries
Lets take this golf thing literally.. Drive off the tee into the hole, and of course you don't strike the ball completely clean.
Reconstruct the actual output from my unit test tool report - 95 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.
camel riding - 731 entries
add a prefix on some camelCase variables
Change the content of a string - 1270 entries
This docstring is a complete lie. Fix it.
Where should I put the Newline? - 830 entries
Help me put the newline.
Let's play some Ivmgolf - 976 entries
Oops, I spelled that wrong.
Condensed Cases - 729 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.
Join 'em - 192 entries
This shouldn't be too tough
Simple format (2) - 256 entries
try again!
The Cake is a Lie - 1168 entries
Correct the capitalization of each word
Quote modules (ver.2) - 112 entries
Complete golang import statement.
Add text at some column - 112 entries
Complete golang struct statement.
From A to B - 533 entries
Mirror and change this text block
Making 3 line function a one liner. - 13 entries
Simple challenge for frequent action while programming.
Ruby 1.9 hashes - 1113 entries
Rubyists talk about being cutting edge but how many are using 1.9 in production? Time to convert those verbose 1.8 hashes in to symbolic, succinct 1.9 beauties!
Sort and add attributes - 1113 entries
Sort the states and add the attribute country to each record.
Extract wireshark capture filter - 152 entries
Extract wireshark capture filter from IP plan
Gray area - 669 entries
It's a golf metaphor or something.
Append semicolon after expressions - 899 entries
Some lines need the semicolon, some don't.
Reconstruct the Sentence - 1042 entries
Get the sentence back in the proper order, remove duplicate lines, and then combine the separate lines into one.
citizen_hacks_2019_challenge2 - 142 entries
For the Citizen Hacks 2019 Vim competition.
Two become one - 692 entries
We have two c arrays and want to make one two dimensional out of it. Can we do that?
Number Sort - 268 entries
sort the list of newline-separated numbers incrementally. Numbers are in the range 1 to 1000, with 500 missing
Paragraph breaks - 431 entries
Swap the blank lines and the aaa lines.
Levenshtein distance - 51 entries
Compute distance for each pair. Notice that this recursive implementation is very inefficient. Wagner-Fischer algorithm is iterative and much faster. #vimscript
Swap the operands under comparison - 240 entries
Swap the operands under comparison to prevent null pointer exception (at least in java)
Alsa configuration - 478 entries
I'm tweaking my ~/.asoundrc file!
Around the clock - 155 entries
You'll want to use 2 special commands to complete this. If you haven't yet, read through 'input.txt', especially :help simple-changes
Todo list specification - 329 entries
The every item on the todo list must be done today. Modify the list to reflect that.
Make Fancy Header - 929 entries
Make the header text stand out with surrounding asterisks
Exchanging Quotes - 779 entries
Sometimes you need to exchange a choice of quotes in some code.
Ugly spreadsheet copy/paste to CSV - 787 entries
convert an ugly spreadsheet copy/paste into a CSV format.
A Simple One - 870 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...