38277 active golfers, 454176 entries, 580 challenges
Open VimGolf challenges
you're stuck on jQuery < 1.7 - 338 entries
replace calls to jQuery 1.7+'s `on` with calls to pre 1.7 `bind`
SFD-ROC: ROT13 Phonics - 99 entries
A is for apple, b is for ball, etc... This familiar phonics poem has been rotated 13 characters. Make the letter match the word.
SFD-ROC: vimvimvim - 1594 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
SFD-ROC: ASCII Logo Border - 72 entries
Draw a border around this familiar logo ;)
SFD-ROC: Pipe Dreams - 102 entries
Move the pipes so they match the output.
SFD-ROC: Tic-Tac-Toe - 136 entries
Tic-Tac-Toe You are 'X', and it is your turn. Stop 'O' from winning, and complete the game. Draw a diagonal line through your winning row of three X's.
SFD-ROC: The Quick Brown Fox - 175 entries
Someone has vandalized our text (again). Please fix to read: The Quick Brown Fox Jumps Over The Lazy Dog.
Enharmonic Equivalents - 57 entries
Transform # and b to digraphs
Circle of Fifths with Sharps - 97 entries
Display a list of the Circle of Fifths with corresponding solfege syllables with sharps. Handling spaces may be tricky.
The name of the game - 654 entries
End up with the name of the game.
NATO phonetic alphabet - 506 entries
Transform the series of words into a list.
The Quick Brown Fox Jumps Over The Lazy Vim - 404 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."
maximun and minimun - 59 entries
Find the maximum and minimum of the rows.
Sierpinski's Triangle - 84 entries
Build the famous fractal, Sierpinski's Triangle.
Dehamlizing - 184 entries
Change this piece of HAML code back into erb
Create an alphabet diamond - 82 entries
Here's a brain teaser to keep things interesting...
Convert regular pandoc footnotes to in-line notes - 64 entries
Pandoc extends markdown by allowing footnotes, which are usually represented with a footnote identifier followed later in the document by the footnote itself. But Pandoc also allows inline footnotes without identifiers. How many strokes does it take to convert regular footnotes to inline notes? (NB: I've had trouble figuring out whether text-width makes a difference to Vimgolf in comparing the input and output file. I finally tested this locally using the Vimgolf vimrc and did a "gq" on the entire buffer as the last step. Apologies if I'm making a newbie mistake. First time submitter.)
Complete the circuit grid! - 85 entries
Continuing from the last challenge, add additional rows to the grid. Change each of the names from 'A1'...'A10' to 'B1'...'B10', 'C1'...'C10', etc, and for each new row add 0.7 to the X values in the (X Y) at the end of each line.
Make the circuit grid! - 91 entries
Copy this command for a circuit layout program to create 10 total smd commands. Increment the number in quotes to name each pad, and add 0.7 to each of the (X Y) coordinates at the end of each line.
Convert pandoc unordered list to a numbered list - 166 entries
I know it's possible to use #. in pandoc to auto-generate numbered lists, but then it's not easy to tell how many items there are when reading it in Markdown. How fast can you make the switch?
Vertical Limit - 2487 entries
transform a succession of one word lines to a an array of strings
Shuffle and Sort - 210 entries
The values where sorted incorrectly. Get them back to how they are supposed to be
Cleanining up 80 column concatenated text - 194 entries
1. Put the whole query on one line, remove the concatenation operators 2. Remove the double spaces that appear a few times in the query 3. Use string-interpolated variable statementPid rather than the ugly concatenation
Changing URL path in CSS - 136 entries
What's the quickest way to swap out all the URLs in a CSS file? Is it wasted keystrokes using look-behinds and look-aheads? (I'm sorry for the delete/report--I made a mistake with the last one requiring an ugly search for graphic to replace with images. I just intended this to be a simple search and replace that might possibly generate some macros or normals solutions that are quicker)
Inconsistent real estate paste - 185 entries
Format a hand-typed real estate listing that uses inconsistent punctuation into four sections
Aligning function arguments to match a specific coding style - 230 entries
Most projects have specific coding style guidelines. In this case, the argument list must be broken into a new line for each argument, with the argument names right aligned, taking into account pointers.
Create a pandoc compatible table - 185 entries
In [this vimcast][1], a featured gist from Tim Pope shows how to quickly make a simple table structure. How fast can you convert it to pandoc's markdown style? [1]: http://vimcasts.org/episodes/aligning-text-with-tabular-vim/
Switch function arguments - 2085 entries
How to switch two arguments of a function.
Calculate the table totals - 133 entries
Go ahead... commit the treachery of using vim as a spreadsheet.
Remove noise from HTTP log - 700 entries
This piece of log (from the year 2000) contains some irrelevant data. We only want to see the HTTP method and resource.
Remove semicolons after expressions - 639 entries
A follow-up for http://vimgolf.com/challenges/4fc9d767d3a0d4000100000e.
Append semicolon after expressions - 1023 entries
Some lines need the semicolon, some don't.
Format the output - 146 entries
Sometimes your standard out is a little hard to read. Take this multilevel hash and make it human readable.
Exchanging Quotes - 824 entries
Sometimes you need to exchange a choice of quotes in some code.
Reverse and double space - 498 entries
Reverse the order of the given lines and double space everything
The meaning - 566 entries
Numbers are fun!
un-C-escape string - 58 entries
Convert escape sequences to characters
replacing each line of a block selection - 2966 entries
replace each line's ../assets/js with /javascripts
Ugly spreadsheet copy/paste to CSV - 978 entries
convert an ugly spreadsheet copy/paste into a CSV format.
constructor - 181 entries
coding a constructor for a simple class
switch variable - 5045 entries
how fast can you switch two variable ?
Replacing some words - 420 entries
How fast could it be?
Make it more readable - 1955 entries
Insert blank lines to make it more organized and readable
remove dupes from array - 1345 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
Sort entries based on date - 364 entries
Sort some entries in a Ledger-file based on date.
PHP Array Syntax -> MailChimp Merge Syntax - 508 entries
I recently needed to send an e-mail to our marketing department listing allowed merge tags for our MailChimp campaigns. The allowed merge tags were determined from a PHP array in one of our PHP classes. I transformed the PHP class to MailChimp's syntax and sent the e-mail. It was, however, a long, laborious process. I'm still fairly new to Vim and would love to see how an expert Vim user would tackle one of my own, real-world problems. Thanks and have fun!
Refactor to Helpers - 49 entries
This Rails partial is almost all template escapes. Put it into a helper, and refactor each case to methods so we can build out the controls for each. (I've converted to tabs - fighting with Vimgolf's default config shouldn't be part of the challenge.)
Alphabetize the directory - 284 entries
Put the contacts and their information in alphabetical order.
PHP <--> Java class conversion Part 2 - 97 entries
Same class but reverse!
PHP <--> Java class conversion Part 1 - 213 entries
Convert this tiny php class to adequate java one.