Played Challenges
Simple, Practical, and Common - 33988 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 / 7509
- Number of attempts: 3
Wget failed to download redirections - 232 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: #57 / 71
- Number of attempts: 2
V to the i - 4864 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 9
- Position: #1580 / 1912
- Number of attempts: 1
Extract argument from function - 2401 entries
The aim is to see if you can do some refactoring very fast.
- Best score: 13
- Best player score: 16
- Position: #525 / 768
- Number of attempts: 2
Search and Replace 0 - 5124 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 16
- Position: #1226 / 1670
- Number of attempts: 1
That hyphen - 2624 entries
"vim vi improved"
- Best score: 9
- Best player score: 14
- Position: #558 / 708
- Number of attempts: 1
Just the middle - 11613 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #1657 / 4253
- Number of attempts: 3
Vice versa - 8011 entries
Little role switching.
- Best score: 12
- Best player score: 18
- Position: #1729 / 2153
- Number of attempts: 1
Swap assigned value - 681 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 13
- Position: #232 / 262
- Number of attempts: 1
Collect List - 4333 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 17
- Position: #897 / 1197
- Number of attempts: 1
VimGolfNight - 583 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #207 / 354
- Number of attempts: 2
Condensed Cases - 821 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: #135 / 252
- Number of attempts: 3
Happy TvvO - 438 entries
Don’t forget the past, learn from it. Happy New Year.
- Best score: 12
- Best player score: 12
- Position: #55 / 210
- Number of attempts: 2
I forgot quotes - 16187 entries
Oops.
- Best score: 10
- Best player score: 19
- Position: #3448 / 4222
- Number of attempts: 2
learn vim in short time - 246 entries
so happy to learn vim.because vim is awesome
- Best score: 8
- Best player score: 8
- Position: #60 / 166
- Number of attempts: 1
-a-b-c- - 3237 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 17
- Position: #929 / 1145
- Number of attempts: 1
Count both ways - 1037 entries
Right AND down.
- Best score: 13
- Best player score: 16
- Position: #210 / 359
- Number of attempts: 2
NBCU Weekly Challenge - Test - 262 entries
Just testing.
- Best score: 18
- Best player score: 19
- Position: #71 / 119
- Number of attempts: 2
Change name of a variable - 187 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 / 144
- Number of attempts: 1
Gray area - 757 entries
It's a golf metaphor or something.
- Best score: 11
- Best player score: 14
- Position: #214 / 274
- Number of attempts: 2
NBCU Weekly Challenge - #0 - 148 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: #50 / 59
- Number of attempts: 2
Refactor static member invocation - 211 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: #53 / 65
- Number of attempts: 1
Neither Fizz nor Buzz - 270 entries
Not your regular increment macro! The gaps are tricky.
- Best score: 13
- Best player score: 22
- Position: #91 / 106
- Number of attempts: 2
Two become one - 736 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: #159 / 212
- Number of attempts: 2
Where should I put the Newline? - 898 entries
Help me put the newline.
- Best score: 7
- Best player score: 8
- Position: #335 / 446
- Number of attempts: 2
Mess in revision history - 1228 entries
Help Joe clean up what Steve has cobbled.
- Best score: 17
- Best player score: 41
- Position: #235 / 256
- Number of attempts: 1
A HAPPY NEW YEAR 2014 ! - 10749 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1976 / 3712
- Number of attempts: 3
attr_aligner - 3565 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 31
- Position: #429 / 709
- Number of attempts: 3
Letter case trickery - 1664 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: #342 / 523
- Number of attempts: 2
quotes inside quotes - 3200 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: #860 / 1091
- Number of attempts: 1
Words in parens - 13034 entries
We should all ace this, right?
- Best score: 13
- Best player score: 16
- Position: #2208 / 3988
- Number of attempts: 3
Delete unwanted lines - 441 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #147 / 235
- Number of attempts: 1
The name of the game - 682 entries
End up with the name of the game.
- Best score: 11
- Best player score: 11
- Position: #185 / 366
- Number of attempts: 1
SFD-ROC: vimvimvim - 1641 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: #295 / 456
- Number of attempts: 2
Saving the hashes(#) - 2115 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: #298 / 487
- Number of attempts: 2
Let's play some Ivmgolf - 1153 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 9
- Position: #278 / 457
- Number of attempts: 1
Vertical Limit - 2634 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 26
- Position: #490 / 776
- Number of attempts: 2
Switch function arguments - 2204 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 15
- Position: #581 / 681
- Number of attempts: 1
Append semicolon after expressions - 1071 entries
Some lines need the semicolon, some don't.
- Best score: 11
- Best player score: 13
- Position: #341 / 425
- Number of attempts: 2
switch variable - 5120 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 14
- Position: #1388 / 1761
- Number of attempts: 1
Make it more readable - 2036 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 17
- Position: #478 / 657
- Number of attempts: 4
remove dupes from array - 1375 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: #283 / 340
- Number of attempts: 2
Numbering a List - 1944 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 23
- Position: #469 / 659
- Number of attempts: 2
Ruby 1.9 hashes - 1293 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: #243 / 417
- Number of attempts: 2
Shebangs for all - 2098 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: #386 / 531
- Number of attempts: 1
A Simple One - 1079 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 / 677
- Number of attempts: 1
The Cake is a Lie - 1399 entries
Correct the capitalization of each word
- Best score: 8
- Best player score: 10
- Position: #374 / 541
- Number of attempts: 2
Change the content of a string - 1779 entries
This docstring is a complete lie. Fix it.
- Best score: 22
- Best player score: 24
- Position: #379 / 651
- Number of attempts: 1
Sort and add attributes - 1576 entries
Sort the states and add the attribute country to each record.
- Best score: 33
- Best player score: 39
- Position: #547 / 611
- Number of attempts: 1
Whitespace, empty lines and tabs - 4025 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 26
- Position: #462 / 857
- Number of attempts: 3
Reformat/Refactor a Golfer Class - 7649 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 42
- Position: #1040 / 1882
- Number of attempts: 1
VimGolf