Played Challenges
Add semicolons - 10859 entries
Simply add a semicolon at the end of each line
- Best score: 10
- Best player score: 10
- Position: #328 / 3064
- Number of attempts: 4
Wrap the text of an email message to 79 characters - 766 entries
You're replying to an email with silly long lines. Clean them up.
- Best score: 5
- Best player score: 5
- Position: #165 / 410
- Number of attempts: 1
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 18
- Position: #1340 / 1624
- Number of attempts: 1
Extended Customer 2 - 49 entries
Format the chars
- Best score: 47
- Best player score: 73
- Position: #13 / 21
- Number of attempts: 3
A HAPPY NEW YEAR 2014 ! - 10669 entries
A HAPPY NEW YEAR 2014 !
- Best score: 11
- Best player score: 12
- Position: #1696 / 3684
- Number of attempts: 5
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: #785 / 1078
- Number of attempts: 2
Sort the VimGolf challenges by popularity - 348 entries
"Sort by popularity" is a good order to play the challenges. Not perfect, but you could do a lot worse. ;) Input is a sample copy-pasted from vimgolf.com. Some of the challenge names have digits that will get in your way, so read ":help :sort" for hints on sorting with a regex. When you're done, try your solution on the full list!
- Best score: 15
- Best player score: 15
- Position: #3 / 107
- Number of attempts: 3
Words in parens - 12939 entries
We should all ace this, right?
- Best score: 13
- Best player score: 14
- Position: #258 / 3964
- Number of attempts: 6
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: 21
- Position: #8 / 77
- Number of attempts: 3
Enumerate words - 254 entries
Enumerate the unique words in order.
- Best score: 23
- Best player score: 25
- Position: #23 / 91
- Number of attempts: 4
Groups magic - 158 entries
Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()
- Best score: 13
- Best player score: 13
- Position: #7 / 93
- 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: #273 / 480
- Number of attempts: 2
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: #425 / 754
- Number of attempts: 2
Switch function arguments - 2139 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 25
- Position: #649 / 663
- Number of attempts: 1
Braces or Brackets? - 1018 entries
Someone forgot whether to use braces or brackets and you have to clean up their code!
- Best score: 34
- Best player score: 72
- Position: #302 / 316
- Number of attempts: 1
Flodder-challenge - 1263 entries
Replace the text the most efficient and win!
- Best score: 27
- Best player score: 28
- Position: #61 / 336
- Number of attempts: 6
Simple text editing with Vim - 12815 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1037 / 3696
- Number of attempts: 7