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/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
01/30/2019 at 07:38PM
03/11/2019 at 05:31PM
08/05/2019 at 07:59PM
09/15/2019 at 06:21AM
09/18/2019 at 06:22PM
09/19/2019 at 10:21PM
05/03/2020 at 12:33AM
05/21/2020 at 10:37AM
05/13/2022 at 09:27AM
06/15/2023 at 11:36AM
07/13/2023 at 04:21PM
11/01/2024 at 12:12PM
10/18/2025 at 04:43PM
07/17/2014 at 06:31AM
07/26/2014 at 07:39AM
07/26/2014 at 09:19PM
08/06/2014 at 07:39PM
08/08/2014 at 07:04AM
08/11/2014 at 08:44AM
09/03/2014 at 06:53AM
09/03/2014 at 09:26AM