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
570 remaining solutions by
signing in and submitting your own entry
#571
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
571 active golfers, 1948 entries
Leaderboard (lowest score wins):
01/04/2018 at 10:26AM
04/30/2018 at 08:04AM
06/06/2018 at 02:00PM
07/25/2018 at 02:07PM
11/16/2018 at 12:27PM
11/22/2018 at 05:41PM
11/28/2018 at 08:44AM
01/19/2019 at 10:55PM
01/26/2019 at 04:55AM
02/07/2019 at 04:21PM
02/12/2019 at 09:05AM
05/10/2019 at 07:43PM
07/22/2019 at 11:18AM
09/03/2019 at 10:14PM
09/07/2019 at 06:21PM
11/27/2019 at 07:32AM
09/14/2021 at 12:07AM
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