Played Challenges
Simple, Practical, and Common - 33552 entries
Simple things we do all the time should be able to be done with very few keystrokes, but sometimes I find something I need to do makes me go, "There MUST be a better way." This challenge is just a simple movement and entering text at a certain place.
- Best score: 22
- Best player score: 22
- Position: #511 / 7401
- Number of attempts: 10
Swap values - 4606 entries
Well, swap the values...
- Best score: 11
- Best player score: 12
- Position: #476 / 1265
- Number of attempts: 6
Add semicolons - 10841 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 11
- Position: #874 / 3058
- Number of attempts: 4
Split line with dots - 2144 entries
This line is too long, split it.
- Best score: 15
- Best player score: 15
- Position: #46 / 634
- Number of attempts: 3
remove lines containing the word "reader" - 3573 entries
easy stuff
- Best score: 9
- Best player score: 9
- Position: #129 / 1157
- Number of attempts: 2
Box it - 7897 entries
Create a box around a line.
- Best score: 21
- Best player score: 22
- Position: #460 / 1872
- Number of attempts: 5
Delete to the end of the current line - 810 entries
Delete to the end of the current line, but keep the character under the cursor.
- Best score: 5
- Best player score: 5
- Position: #91 / 389
- Number of attempts: 3
VimGolfNight - 555 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #33 / 345
- Number of attempts: 1
quotes inside quotes - 3154 entries
taken from tip 85 of the very good book 'Practical Vim: Edit Text at the Speed of Thought' ! I'd be interested what people use :)
- Best score: 14
- Best player score: 17
- Position: #710 / 1075
- Number of attempts: 1
Words in parens - 12918 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #73 / 3957
- Number of attempts: 4
Let's play some Ivmgolf - 1118 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 9
- Position: #204 / 445
- Number of attempts: 2
switch variable - 5061 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 11
- Position: #5 / 1743
- Number of attempts: 3
Replacing some words - 425 entries
How fast could it be?
- Best score: 17
- Best player score: 20
- Position: #54 / 150
- Number of attempts: 6
remove dupes from array - 1347 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 17
- Position: #16 / 334
- Number of attempts: 9
PHP Array Syntax -> MailChimp Merge Syntax - 545 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!
- Best score: 23
- Best player score: 23
- Position: #5 / 150
- Number of attempts: 8
Sort entries based on date - 392 entries
Sort some entries in a Ledger-file based on date.
- Best score: 11
- Best player score: 11
- Position: #18 / 117
- Number of attempts: 3
Simple text editing with Vim - 12632 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 13
- Position: #178 / 3655
- Number of attempts: 3
Mihai Crăiță
Twitter: @mihai_craita
Web Developer