Played Challenges
hello-world-vimgolf - 1574 entries
Simple number generation
- Best score: 10
- Best player score: 11
- Position: #212 / 452
- Number of attempts: 3
Simple, Practical, and Common - 32953 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: #913 / 7275
- Number of attempts: 5
Swap values - 4440 entries
Well, swap the values...
- Best score: 11
- Best player score: 14
- Position: #697 / 1241
- Number of attempts: 3
V to the i - 4641 entries
Input is 99 V's. Output is 100 i's.
- Best score: 7
- Best player score: 7
- Position: #480 / 1857
- Number of attempts: 4
Box it - 7682 entries
Create a box around a line.
- Best score: 21
- Best player score: 21
- Position: #112 / 1836
- Number of attempts: 3
From argument to object - 1262 entries
This task typifies those programmers endure while coding. This C-family pseudocode needs a function argument to be repurposed as an object call. Simply search and replace? Repeat a pattern of edits?
- Best score: 17
- Best player score: 21
- Position: #333 / 417
- Number of attempts: 1
Every other line - 2829 entries
AaAaAaA
- Best score: 12
- Best player score: 13
- Position: #187 / 686
- Number of attempts: 6
Copy three lines - 2801 entries
If the site is up (by some miracle), make the text under every header identical.
- Best score: 13
- Best player score: 15
- Position: #218 / 625
- Number of attempts: 6
Search and Replace 0 - 4676 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #485 / 1549
- Number of attempts: 6
comment and uncomment code inline - 995 entries
It's very useful to be able to comment out a block of code in a quick edit. And likewise to uncomment the code. This operation often involves multi-line stanzas and even large blocks. With just line-wise navigation and insert mode this would cost you about 4 keystrokes per line. Master this hole of VimGolf and you'll quickly drop your key count in day to day Vim as well.
- Best score: 9
- Best player score: 17
- Position: #271 / 296
- Number of attempts: 1
Just the middle - 11141 entries
Delete the instructions at the top and bottom.
- Best score: 7
- Best player score: 8
- Position: #2394 / 4114
- Number of attempts: 2
Team names - 1777 entries
The team names are misspelled.
- Best score: 16
- Best player score: 16
- Position: #51 / 570
- Number of attempts: 3
Learn some german verbs - 504 entries
The list needs to be structured so we can print in verbatim and feel ok about how it looks.
- Best score: 21
- Best player score: 26
- Position: #70 / 125
- Number of attempts: 1
Todo list specification - 365 entries
The every item on the todo list must be done today. Modify the list to reflect that.
- Best score: 37
- Best player score: 39
- Position: #126 / 168
- Number of attempts: 3
Stairstep digits - 245 entries
Remove the evens. Double the odds.
- Best score: 9
- Best player score: 13
- Position: #88 / 116
- Number of attempts: 1
Format java properties - 66 entries
Format java properties to a different format. The value which is the string following the first '=' cannot & should not change. All periods in the key get replaced with an underscore "_" and get a prefix of "b_".
- Best score: 27
- Best player score: 37
- Position: #23 / 31
- Number of attempts: 3
Fiddle percentages into real numbers - 798 entries
Get rid of the '%' symbols and shift the decimal place. This is the easier version - all the columns line up.
- Best score: 13
- Best player score: 18
- Position: #226 / 273
- Number of attempts: 1
Nesting SASS - 255 entries
Move a block inside another block and indent it
- Best score: 9
- Best player score: 20
- Position: #81 / 89
- Number of attempts: 1
Wrap text in quotes - 340 entries
All the blocks of text should be wrapped in quotation marks.
- Best score: 16
- Best player score: 16
- Position: #31 / 115
- Number of attempts: 4
Fun With The Diagonal - 97 entries
change the lowercase characters on the main diagonal to uppercase
- Best score: 11
- Best player score: 11
- Position: #46 / 74
- Number of attempts: 2
Pretty multi-line bash - 216 entries
Bash line continuations are much prettier when they're column aligned.
- Best score: 15
- Best player score: 15
- Position: #25 / 74
- Number of attempts: 7
comments galore - 970 entries
Basic comment reformatting
- Best score: 10
- Best player score: 10
- Position: #222 / 410
- Number of attempts: 3
Change attribute to getter - 111 entries
Wrap attributes with a getter method.
- Best score: 24
- Best player score: 24
- Position: #20 / 48
- Number of attempts: 3
Scrambled numbers - 772 entries
Four is NOT 1. One is 1.
- Best score: 18
- Best player score: 20
- Position: #67 / 179
- Number of attempts: 8
Line under headers - 1918 entries
Put a line under each header, and remove the other markdown formatting.
- Best score: 24
- Best player score: 33
- Position: #319 / 472
- Number of attempts: 1
Join 'em - 229 entries
This shouldn't be too tough
- Best score: 4
- Best player score: 5
- Position: #36 / 135
- Number of attempts: 2
Array transposition - 2312 entries
Transpose two arrays into one.
- Best score: 16
- Best player score: 27
- Position: #312 / 431
- Number of attempts: 1
Mirror Symmetry - 781 entries
Add backslashes.
- Best score: 7
- Best player score: 10
- Position: #107 / 262
- Number of attempts: 4
Collect List - 4184 entries
Convert to comma separated list.
- Best score: 12
- Best player score: 12
- Position: #302 / 1167
- Number of attempts: 6
Space out the alphabet - 1595 entries
Put 3 spaces between adjacent letters.
- Best score: 15
- Best player score: 18
- Position: #222 / 434
- Number of attempts: 7
I forgot quotes - 15748 entries
Oops.
- Best score: 10
- Best player score: 16
- Position: #2648 / 4116
- Number of attempts: 1
-a-b-c- - 3118 entries
Put hyphens everywhere.
- Best score: 13
- Best player score: 17
- Position: #958 / 1112
- Number of attempts: 2
Do you demand a shrubbery? - 1107 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 15
- Position: #58 / 292
- Number of attempts: 11
Where should I put the Newline? - 845 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #189 / 422
- Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10538 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #2295 / 3638
- Number of attempts: 1
Words in parens - 12736 entries
We should all ace this, right?
- Best score: 13
- Best player score: 15
- Position: #1649 / 3919
- Number of attempts: 2
Saving the hashes(#) - 1966 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: #292 / 467
- Number of attempts: 2
Ruby 1.9 hashes - 1172 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: 12
- Position: #81 / 386
- Number of attempts: 6
Context insensitive completion 0 - 474 entries
Buried in the lines you're not supposed to add is the line "Add this line!" Add that line to the top of the file.
- Best score: 7
- Best player score: 7
- Position: #95 / 223
- Number of attempts: 3