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
571 remaining solutions by
signing in and submitting your own entry
#572
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
572 active golfers, 1951 entries
Leaderboard (lowest score wins):
09/09/2018 at 08:37PM
09/14/2018 at 09:19AM
12/04/2018 at 02:04PM
02/03/2019 at 09:15PM
02/04/2019 at 01:17AM
#216 - Henrique Malheiro / @rike09
02/04/2019 at 09:09PM
02/20/2019 at 09:17AM
04/23/2019 at 09:25PM
07/22/2019 at 12:27PM
08/19/2019 at 06:40PM
09/24/2019 at 01:29PM
09/24/2019 at 10:22PM
10/22/2019 at 02:06AM
11/13/2019 at 09:52AM
03/01/2020 at 11:37AM
03/13/2020 at 08:33AM
04/01/2020 at 03:03AM
05/21/2020 at 07:45AM
07/01/2020 at 04:29PM
12/19/2020 at 05:52PM
01/12/2021 at 12:14AM
08/02/2021 at 03:41AM
10/01/2021 at 06:02PM
07/05/2022 at 10:23PM
07/16/2014 at 01:38PM
07/19/2014 at 11:48AM
07/23/2014 at 02:52PM
07/23/2014 at 08:55PM
07/27/2014 at 09:21AM
07/29/2014 at 11:13PM