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):
05/10/2016 at 01:19AM
05/15/2016 at 07:59PM
#513 - cohost.org/quiggy / @quiggy
05/18/2016 at 02:20PM
06/23/2016 at 04:59PM
06/30/2016 at 04:03AM
07/24/2016 at 05:43PM
09/09/2016 at 07:46AM
09/16/2016 at 04:16PM
12/05/2016 at 09:21AM
03/14/2017 at 11:52AM
07/07/2017 at 11:14AM
07/10/2017 at 02:06PM
11/08/2017 at 06:19PM
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