Played Challenges
Search and Replace 0 - 4792 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 15
- Position: #1073 / 1585
- Number of attempts: 1
VimGolfNight - 536 entries
Based on "The name of the game".
- Best score: 12
- Best player score: 12
- Position: #123 / 343
- Number of attempts: 1
Letter case trickery - 1594 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: 13
- Position: #372 / 511
- Number of attempts: 1
quotes inside quotes - 3125 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: #759 / 1072
- Number of attempts: 1
Words in parens - 12858 entries
We should all ace this, right?
- Best score: 13
- Best player score: 17
- Position: #2563 / 3946
- Number of attempts: 1
Delete unwanted lines - 396 entries
Delete all lines which does not end in "o.."
- Best score: 9
- Best player score: 9
- Position: #103 / 225
- Number of attempts: 4
Saving the hashes(#) - 1992 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: 30
- Position: #370 / 473
- Number of attempts: 2
replacing each line of a block selection - 2947 entries
replace each line's ../assets/js with /javascripts
- Best score: 18
- Best player score: 23
- Position: #455 / 768
- Number of attempts: 1
Switch function arguments - 2082 entries
How to switch two arguments of a function.
- Best score: 11
- Best player score: 13
- Position: #378 / 652
- Number of attempts: 2
Make it more readable - 1952 entries
Insert blank lines to make it more organized and readable
- Best score: 13
- Best player score: 15
- Position: #261 / 640
- Number of attempts: 2
Shebangs for all - 1912 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: 14
- Position: #220 / 500
- Number of attempts: 4
A Simple One - 1001 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: #357 / 643
- Number of attempts: 1
Simple text editing with Vim - 12290 entries
Make the pairs of lines match up by making each second line same as first
- Best score: 13
- Best player score: 14
- Position: #1147 / 3581
- Number of attempts: 3
Petr Broz
Twitter: @ipetrbroz
CG enthusiast, Tinkercad & 123D developer