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
570 remaining solutions by
signing in and submitting your own entry
#571
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
571 active golfers, 1948 entries
Leaderboard (lowest score wins):
10/24/2015 at 09:10PM
#332 - Árpád Krejczinger / @krarpi
11/02/2015 at 05:04PM
11/12/2015 at 01:27PM
02/23/2016 at 03:20PM
03/15/2016 at 03:18AM
03/15/2016 at 08:24PM
03/16/2016 at 01:40PM
04/07/2016 at 02:27PM
04/22/2016 at 11:45PM
06/05/2016 at 10:07PM
06/13/2016 at 03:24PM
06/14/2016 at 02:01PM
07/21/2016 at 01:12PM
07/24/2016 at 02:08PM
08/01/2016 at 06:29AM
08/10/2016 at 09:31PM
08/28/2016 at 03:16AM
10/09/2016 at 07:02AM
11/18/2016 at 01:43PM
11/30/2016 at 09:45AM
01/03/2017 at 01:00PM
01/12/2017 at 12:21AM
04/10/2017 at 02:04PM
05/12/2017 at 06:31AM
08/18/2017 at 04:56PM
03/13/2018 at 05:31PM
06/08/2018 at 06:02AM
08/21/2018 at 03:35AM
11/14/2018 at 11:51PM
12/31/2018 at 05:59PM