Played Challenges
Simple, Practical, and Common - 33236 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: #1039 / 7330
- Number of attempts: 6
Search and Replace 0 - 4766 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 13
- Position: #760 / 1578
- Number of attempts: 6
Create Leading Zeros - 208 entries
Create leading zeros only for id columns. Please use generic approach!
- Best score: 23
- Best player score: 24
- Position: #18 / 78
- Number of attempts: 5
VimGolfNight - 524 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #94 / 339
- Number of attempts: 2
Split the words - 356 entries
Add the spaces manually if you must, but if you use Vim's spell checking feature wisely, I think you'll save a LARGE number of strokes.
- Best score: 18
- Best player score: 20
- Position: #12 / 108
- Number of attempts: 8
Permutations N=4 - 60 entries
Could use backtracking or other algorithm to generate sorted numbers. Second chance !
- Best score: 25
- Best player score: 53
- Position: #16 / 18
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10584 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 11
- Position: #460 / 3653
- Number of attempts: 5
attr_aligner - 3408 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #15 / 689
- Number of attempts: 5
Number an outline - 246 entries
The indent and words are right, but the numbers are all wrong.
- Best score: 25
- Best player score: 30
- Position: #11 / 74
- Number of attempts: 4
Words in parens - 12821 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #129 / 3938
- Number of attempts: 3
Pairs of numbers - 349 entries
Line 1 represents x, line 2 y-data. Bring the corresponding pairs in the form "[x,y]\n"
- Best score: 26
- Best player score: 27
- Position: #22 / 132
- Number of attempts: 5
Block Fun 1 - 188 entries
Manipulate the columns to produce desired result.
- Best score: 14
- Best player score: 19
- Position: #26 / 72
- Number of attempts: 3
Sort by your own sum - 69 entries
Same numbers as last time, but you'll have to add them yourself.
- Best score: 25
- Best player score: 32
- Position: #11 / 27
- Number of attempts: 2
abcd > a b c d - 279 entries
transform the single spaces into 4 spaces repeat for each line
- Best score: 15
- Best player score: 15
- Position: #111 / 217
- Number of attempts: 1
The Quick Brown Fox Jumps Over The Lazy Vim - 398 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."
- Best score: 8
- Best player score: 11
- Position: #127 / 186
- Number of attempts: 2
The name of the game - 643 entries
End up with the name of the game.
- Best score: 11
- Best player score: 11
- Position: #145 / 353
- Number of attempts: 2
Saving the hashes(#) - 1977 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: 25
- Position: #162 / 470
- Number of attempts: 4
Let's play some Ivmgolf - 1066 entries
Oops, I spelled that wrong.
- Best score: 7
- Best player score: 9
- Position: #207 / 436
- Number of attempts: 2
Vertical Limit - 2406 entries
transform a succession of one word lines to a an array of strings
- Best score: 21
- Best player score: 22
- Position: #134 / 728
- Number of attempts: 5
replacing each line of a block selection - 2907 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 19
- Position: #142 / 760
- Number of attempts: 3
Switch function arguments - 2019 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #237 / 637
- Number of attempts: 3
switch variable - 5012 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #762 / 1728
- Number of attempts: 3
Make it more readable - 1930 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 14
- Position: #151 / 636
- Number of attempts: 5
remove dupes from array - 1324 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: #52 / 328
- Number of attempts: 11
Before there was Farmville... - 95 entries
There was old MacDonald. For my toddler. The first Vim sing-a-long?
- Best score: 156
- Best player score: 239
- Position: #36 / 46
- Number of attempts: 1
Numbering a List - 1849 entries
Pretty simple, number the list.
- Best score: 13
- Best player score: 18
- Position: #120 / 636
- Number of attempts: 5
Add fold markers to a .c file - 526 entries
Fold markers can make it easier to navigate source code. Add them to this .c file.
- Best score: 30
- Best player score: 31
- Position: #51 / 165
- Number of attempts: 5
Whitespace, empty lines and tabs - 3141 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 17
- Position: #76 / 700
- Number of attempts: 9
Simple text editing with Vim - 11970 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1109 / 3505
- Number of attempts: 4
Reformat/Refactor a Golfer Class - 6338 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 32
- Best player score: 33
- Position: #229 / 1562
- Number of attempts: 8