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):
01/06/2020 at 11:13AM
05/29/2020 at 05:35PM
07/31/2020 at 01:42PM
08/17/2020 at 01:13AM
01/11/2021 at 04:42PM
01/16/2021 at 08:24PM
05/12/2021 at 04:23PM
07/13/2021 at 07:18PM
11/30/2021 at 04:33AM
04/25/2022 at 11:46PM
05/26/2022 at 01:56AM
09/29/2022 at 04:51AM
12/13/2023 at 03:56AM
12/26/2023 at 09:13PM
05/31/2024 at 08:44AM
07/01/2024 at 01:27PM
08/05/2024 at 12:40AM
08/28/2024 at 05:38PM
07/16/2014 at 02:17PM
#140 - Anonymer Nasenbär / @g0rdin
07/16/2014 at 03:37PM
07/16/2014 at 08:34PM
07/16/2014 at 11:43PM
07/17/2014 at 01:48AM
07/17/2014 at 09:15AM
07/17/2014 at 12:30PM
07/17/2014 at 12:52PM
07/17/2014 at 11:00PM
07/18/2014 at 12:49PM
07/18/2014 at 01:17PM