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):
06/18/2017 at 04:16PM
#212 - Christian Stammen / @c0smiq
06/30/2017 at 08:38AM
10/12/2017 at 06:32PM
02/04/2018 at 11:29AM
02/09/2018 at 09:58AM
03/12/2018 at 10:41PM
03/18/2018 at 01:56PM
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
#223 - 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