Played Challenges
Simple, Practical, and Common - 33617 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: #45 / 7421
- Number of attempts: 3
Wget failed to download redirections - 202 entries
Output of a wget session, where 302 where not properly handled due to certificate problems, has been saved to a file. Keep the correct URLs to start again downloading.
- Best score: 15
- Best player score: 24
- Position: #54 / 65
- Number of attempts: 2
V to the i - 4802 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 9
- Position: #1566 / 1893
- Number of attempts: 1
Extract argument from function - 2357 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 16
- Position: #515 / 753
- Number of attempts: 2
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 16
- Position: #1193 / 1624
- Number of attempts: 1
That hyphen - 2595 entries
"vim vi improved"
- Best score: 9
- Best player score: 14
- Position: #555 / 701
- Number of attempts: 1
Just the middle - 11454 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #1644 / 4197
- Number of attempts: 3
Vice versa - 7907 entries
Little role switching.
- Best score: 12
- Best player score: 18
- Position: #1708 / 2128
- Number of attempts: 1
Swap assigned value - 647 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 13
- Position: #225 / 254
- Number of attempts: 1
Collect List - 4298 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 17
- Position: #891 / 1190
- Number of attempts: 1
VimGolfNight - 560 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #207 / 347
- Number of attempts: 2
Condensed Cases - 804 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.
- Best score: 12
- Best player score: 14
- Position: #133 / 247
- Number of attempts: 3
Happy TvvO - 427 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #55 / 206
- Number of attempts: 2
I forgot quotes - 15983 entries
Oops.
- Best score: 10
- Best player score: 19
- Position: #3413 / 4180
- Number of attempts: 2
learn vim in short time - 240 entries
so happy to learn vim.because vim is awesome
- Best score: 8
- Best player score: 8
- Position: #60 / 161
- Number of attempts: 1
-a-b-c- - 3213 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 17
- Position: #921 / 1137
- Number of attempts: 1
Count both ways - 1022 entries
Right AND down.
- Best score: 13
- Best player score: 16
- Position: #207 / 354
- Number of attempts: 2
NBCU Weekly Challenge - Test - 253 entries
Just testing.
- Best score: 18
- Best player score: 19
- Position: #70 / 116
- Number of attempts: 2
Change name of a variable - 179 entries
Replace the name of the $variable with the fastest move possible. The challenge is having a command that allow you to easily change the variable name even if its indented.
- Best score: 9
- Best player score: 9
- Position: #89 / 137
- Number of attempts: 1
Gray area - 747 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 14
- Position: #212 / 271
- Number of attempts: 2
NBCU Weekly Challenge - #0 - 139 entries
One of our favorites lines here at NBCU! p.s. The first version of #0 was deleted due to me copy/pasting a HTML entity. Congrats to the one who figured that out, you are a true ninja warrior!
- Best score: 30
- Best player score: 35
- Position: #49 / 58
- Number of attempts: 2
Refactor static member invocation - 199 entries
Someone used a static method. Refactor the method into a static import while fixing the assertion.
- Best score: 28
- Best player score: 41
- Position: #52 / 64
- Number of attempts: 1
Neither Fizz nor Buzz - 253 entries
Not your regular increment macro! The gaps are tricky.
- Best score: 13
- Best player score: 22
- Position: #88 / 103
- Number of attempts: 2
Two become one - 713 entries
We have two c arrays and want to make one two dimensional out of it. Can we do that?
- Best score: 25
- Best player score: 35
- Position: #156 / 208
- Number of attempts: 2
Where should I put the Newline? - 881 entries
Help me put the newline.
- Best score: 7
- Best player score: 8
- Position: #333 / 437
- Number of attempts: 2
Mess in revision history - 1184 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 41
- Position: #231 / 250
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1960 / 3683
- Number of attempts: 3
attr_aligner - 3520 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 31
- Position: #425 / 702
- Number of attempts: 3
Letter case trickery - 1630 entries
This file is in a downright esoteric format, consisting of hexadecimal numbers, non-hexadecimal keywords, and "Z" indicating end-of-line. Make the hexadecimal numbers lowercase.
- Best score: 9
- Best player score: 12
- Position: #338 / 518
- Number of attempts: 2
quotes inside quotes - 3159 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: #854 / 1078
- Number of attempts: 1
Words in parens - 12935 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #2194 / 3963
- Number of attempts: 3
Delete unwanted lines - 413 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #147 / 229
- Number of attempts: 1
The name of the game - 665 entries
End up with the name of the game.
- Best score: 11
- Best player score: 11
- Position: #185 / 360
- Number of attempts: 1
SFD-ROC: vimvimvim - 1606 entries
Oh no, this line is longer than 80 chars... put each 'vim' on a new line.
- Best score: 8
- Best player score: 12
- Position: #291 / 446
- Number of attempts: 2
Saving the hashes(#) - 2063 entries
The following file is copied from vimcasts.org(Its only for learning purpose,hope the site owner doesn't mind it), its probably the easiest of challenges.Our goal is to delete every line which doesn't contain a hash signs. The remaining hash signs with numbers are then sorted to get the final output.
- Best score: 20
- Best player score: 28
- Position: #294 / 480
- Number of attempts: 2
Let's play some Ivmgolf - 1118 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 9
- Position: #273 / 445
- Number of attempts: 1
Vertical Limit - 2538 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 26
- Position: #479 / 754
- Number of attempts: 2
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 15
- Position: #567 / 663
- Number of attempts: 1
Append semicolon after expressions - 1056 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 13
- Position: #336 / 419
- Number of attempts: 2
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 14
- Position: #1376 / 1748
- Number of attempts: 1
Make it more readable - 2005 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 17
- Position: #472 / 650
- Number of attempts: 4
remove dupes from array - 1358 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: 27
- Position: #281 / 336
- Number of attempts: 2
Numbering a List - 1931 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 23
- Position: #463 / 652
- Number of attempts: 2
Ruby 1.9 hashes - 1244 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!
- Best score: 12
- Best player score: 14
- Position: #239 / 406
- Number of attempts: 2
Shebangs for all - 1999 entries
We've all seen or used a shebang once or twice. Ditch the specific paths and leave just a dynamic Ruby and Python bath behind.
- Best score: 11
- Best player score: 18
- Position: #376 / 516
- Number of attempts: 1
A Simple One - 1050 entries
Here is a very simple one - just to illustrate/introduce a vim feature that some people seem to miss...
- Best score: 9
- Best player score: 9
- Position: #401 / 664
- Number of attempts: 1
The Cake is a Lie - 1346 entries
Correct the capitalization of each word
- Best score: 9
- Best player score: 10
- Position: #366 / 527
- Number of attempts: 2
Change the content of a string - 1580 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 24
- Position: #341 / 588
- Number of attempts: 1
Sort and add attributes - 1451 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 39
- Position: #507 / 563
- Number of attempts: 1
Whitespace, empty lines and tabs - 3665 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 26
- Position: #423 / 787
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 6982 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 42
- Position: #979 / 1706
- Number of attempts: 1