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):
09/05/2014 at 06:23AM
10/01/2014 at 01:02AM
10/26/2014 at 01:47AM
11/11/2014 at 01:36AM
11/15/2014 at 05:35PM
11/17/2014 at 08:21PM
11/18/2014 at 08:20PM
11/25/2014 at 12:26AM
03/10/2015 at 11:18AM
#400 - TheProgrammer971 / @tp971
03/14/2015 at 01:55AM
06/12/2015 at 11:49PM
10/26/2015 at 04:05PM
12/23/2015 at 08:46PM
12/30/2015 at 10:11PM
07/07/2016 at 05:51PM
09/16/2016 at 09:30PM
10/14/2016 at 05:12PM
11/25/2016 at 10:46AM
12/21/2016 at 11:10AM
01/02/2017 at 03:04PM
03/17/2017 at 01:24PM
05/02/2017 at 04:51PM
10/09/2017 at 07:17PM
12/03/2017 at 04:33PM
03/22/2018 at 07:58AM
05/26/2018 at 01:19PM
06/19/2018 at 05:19AM
08/16/2018 at 09:05PM
12/30/2018 at 07:53PM
01/05/2021 at 10:14PM