Played Challenges
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: 14
- Position: #292 / 753
- Number of attempts: 3
Swap assigned value - 647 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 10
- Position: #47 / 254
- Number of attempts: 1
Do you demand a shrubbery? - 1158 entries
Use :redir and crush the emacsgolfers.
- Best score: 15
- Best player score: 17
- Position: #102 / 300
- Number of attempts: 3
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: 28
- Position: #62 / 208
- Number of attempts: 5
Where should I put the Newline? - 881 entries
Help me put the newline.
- Best score: 7
- Best player score: 7
- Position: #71 / 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: 21
- Position: #103 / 250
- Number of attempts: 5
Shuffle puzzle - 346 entries
Sort the lines in each indent group, and sort the groups. That's the pattern. Or just move lines around manually to get a better score.
- Best score: 13
- Best player score: 14
- Position: #34 / 104
- Number of attempts: 4
A HAPPY NEW YEAR 2014 ! - 10663 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1837 / 3683
- Number of attempts: 1
attr_aligner - 3516 entries
Two attr keywords. Two separate indentations. Align the colons.
- Best score: 19
- Best player score: 19
- Position: #23 / 701
- Number of attempts: 9
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: 11
- Position: #249 / 518
- Number of attempts: 3
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: 14
- Position: #65 / 1078
- Number of attempts: 4
Top X - 212 entries
The End File is the Top 10 Vimgolf Leaderboard at June 29, 2013. This is a second version, with a great contribution of @udioica. X is ten in Roman,a numeric system in ancient Rome
- Best score: 18
- Best player score: 28
- Position: #40 / 71
- Number of attempts: 3
Words in parens - 12930 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #403 / 3962
- Number of attempts: 4
Pairs of numbers - 363 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: 45
- Position: #105 / 136
- Number of attempts: 1
Assign list - 192 entries
Assign list elements to matrix
- Best score: 30
- Best player score: 68
- Position: #60 / 61
- Number of attempts: 1
Parsing with CSV: Unify lines and result. - 179 entries
col1;col2;col3;col4 A;1;4;5 A;3;4; A;1;4; # New output: col1;col2;col3;col4 A;1(2x);3;4(3x);5 any ideas?
- Best score: 21
- Best player score: 22
- Position: #42 / 77
- Number of attempts: 2
The Quick Brown Fox Jumps Over The Lazy Vim - 420 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: 10
- Position: #57 / 192
- Number of attempts: 1
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: 21
- Position: #80 / 480
- Number of attempts: 5
replacing each line of a block selection - 2999 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 20
- Position: #249 / 777
- Number of attempts: 5
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 12
- Position: #265 / 663
- Number of attempts: 2
switch variable - 5071 entries
how fast can you switch two variable ?
- Best score: 11
- Best player score: 12
- Position: #743 / 1748
- 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: #324 / 664
- Number of attempts: 1
Simple text editing with Vim - 12787 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1316 / 3688
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 6972 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 33
- Position: #236 / 1703
- Number of attempts: 4