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
571 remaining solutions by
signing in and submitting your own entry
#572
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
572 active golfers, 1951 entries
Leaderboard (lowest score wins):
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
08/07/2014 at 04:59PM
11/03/2014 at 07:22AM
10/16/2015 at 04:41AM
12/18/2018 at 03:40AM
08/25/2019 at 11:29AM
01/30/2019 at 07:47PM
07/18/2014 at 02:56AM
10/10/2017 at 06:23PM
04/24/2019 at 06:51PM
07/28/2014 at 05:56AM
08/19/2018 at 07:52PM
08/25/2014 at 03:15PM
10/27/2018 at 02:46PM
05/31/2015 at 07:09PM
05/30/2019 at 07:33AM