Played Challenges
Search and Replace 0 - 4989 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #184 / 1624
- Number of attempts: 2
Align commas - 1095 entries
There are 15,000 aligning challenges on vimgolf.com, and they're all exactly the same. I hope this one is a little different.
- Best score: 11
- Best player score: 11
- Position: #21 / 246
- Number of attempts: 1
Swap assigned value - 647 entries
Simple problem but looking for interesting solutions.
- Best score: 10
- Best player score: 11
- Position: #120 / 254
- Number of attempts: 1
Change your calendar - 392 entries
Happy New Year!
- Best score: 18
- Best player score: 35
- Position: #52 / 87
- Number of attempts: 1
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: #23 / 1078
- Number of attempts: 4
Word frequency alignment - 290 entries
You've got to align the second column, but the spacing is inconvenient and there are nasty tabs in the way. If you're a "real Vim ninja," this could be very quick indeed...
- Best score: 5
- Best player score: 5
- Position: #23 / 161
- Number of attempts: 1
REDRUM - 166 entries
If you remember "The Shinning", the first time you saw the bloody word REDRUM you probably thinked "What the Hell is that?" Well, then you know that you need a little help from a looking-glass to make sense of it. Now it's time to use vim like a mirror to reveal the message.
- Best score: 14
- Best player score: 17
- Position: #35 / 65
- Number of attempts: 1
Enumerate words - 254 entries
Enumerate the unique words in order.
- Best score: 23
- Best player score: 28
- Position: #70 / 91
- Number of attempts: 1
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: #5 / 93
- Number of attempts: 2
Overall Vimgolf Rank - 216 entries
Suppose you are trying to figure out what your overall rank is at Vimgolf(the sum of all the ranks you got), and as a Vim ninja you decided to use Vim to do the job. Your solution should work for every Vimgolf profile page(The actual input file for this challenge is my Vimgolf profile page). So, direct answer insertion is considered cheating.
- Best score: 21
- Best player score: 37
- Position: #40 / 59
- Number of attempts: 1
Whitespace, empty lines and tabs - 3670 entries
Convert tabs to spaces, strip empty lines and trailing whitespace.
- Best score: 16
- Best player score: 22
- Position: #298 / 788
- Number of attempts: 2
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: 13
- Position: #113 / 3696
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 6984 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 28
- Best player score: 36
- Position: #437 / 1708
- Number of attempts: 2