Don't know what this is
Replace contents of brackets with matching number of spaces. Don't ask what the format's supposed to be.
Start file
[1:0]
[0:1]
[1:100]
[0:100]
End file
[ ]
[ ]
[ ]
[ ]
1,4c1,4
< [1:0]
< [0:1]
< [1:100]
< [0:100]
---
> [ ]
> [ ]
> [ ]
> [ ]
Solutions
The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!
Check out these helpful resources to improve your Vim skills... Game on.
Unlock
586 remaining solutions by
signing in and submitting your own entry
#587
luffy / @raxcoi -
Score: 75 -
08/01/14 @ 13:29
:<Up><Up><Up>%s/[^\[\]]*/\=repeat()/g<Left><Left><Left><Left><Left><Left><Left><Left><Left><Right><Right><Right><Right><Right><Right><Right><Left>' ', strlen()<Left>submatch(0)<CR>:wq<CR>
0 comments
587 active golfers, 2025 entries
Leaderboard (lowest score wins):
07/20/2014 at 11:31AM
07/20/2014 at 06:57PM
07/21/2014 at 07:36PM
07/24/2014 at 06:28AM
07/25/2014 at 09:40AM
07/29/2014 at 11:50PM
08/02/2014 at 06:48PM
08/02/2014 at 11:57PM
08/06/2014 at 05:52AM
08/06/2014 at 01:08PM
08/07/2014 at 09:08PM
08/09/2014 at 09:26AM
08/14/2014 at 10:58PM
08/18/2014 at 09:01PM
08/19/2014 at 02:12PM
08/22/2014 at 08:57AM
08/22/2014 at 12:33PM
08/24/2014 at 12:11PM
09/06/2014 at 07:04PM
09/13/2014 at 08:39PM
09/14/2014 at 04:57PM
10/07/2014 at 03:34PM
10/27/2014 at 04:30PM
10/28/2014 at 05:17AM
10/31/2014 at 12:55PM
11/19/2014 at 06:15AM
12/22/2014 at 05:37PM
12/22/2014 at 09:23PM
01/27/2015 at 11:44PM
01/30/2015 at 03:54PM