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):
11/04/2024 at 04:52PM
11/21/2024 at 03:11PM
02/22/2025 at 02:14AM
07/22/2014 at 03:35AM
07/29/2014 at 05:44AM
07/30/2014 at 11:16PM
08/28/2014 at 12:07PM
09/26/2015 at 02:31AM
12/20/2015 at 04:37AM
04/24/2016 at 01:15AM
01/16/2019 at 10:54AM
01/17/2019 at 06:11PM
05/16/2022 at 06:09AM
07/20/2014 at 03:16PM
08/08/2014 at 03:58PM
09/13/2014 at 10:00PM
10/10/2014 at 01:58AM
12/24/2014 at 11:14AM
02/16/2015 at 06:44AM
03/16/2015 at 10:33PM
03/25/2015 at 09:02AM
10/05/2015 at 07:16PM
01/27/2016 at 05:09AM
08/14/2016 at 04:30PM
10/22/2016 at 04:13AM
09/17/2017 at 04:54PM
09/07/2019 at 05:31PM
09/26/2020 at 12:46AM
07/30/2014 at 02:52AM
07/30/2014 at 09:25PM