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/04/2019 at 01:04PM
12/22/2019 at 12:28AM
01/23/2020 at 07:50PM
03/26/2020 at 08:34AM
05/30/2020 at 01:03PM
07/16/2014 at 02:24PM
07/16/2014 at 11:57PM
07/17/2014 at 05:54AM
07/17/2014 at 09:19AM
07/17/2014 at 03:50PM
07/17/2014 at 08:41PM
07/18/2014 at 08:34AM
07/19/2014 at 11:25PM
07/20/2014 at 01:10AM
07/20/2014 at 11:26AM
07/20/2014 at 07:33PM
07/20/2014 at 09:20PM
07/23/2014 at 12:34PM
07/25/2014 at 07:28AM
07/27/2014 at 05:44PM
07/29/2014 at 10:00PM
07/30/2014 at 08:05PM
08/03/2014 at 04:01AM
08/03/2014 at 08:42AM
08/08/2014 at 01:18PM
08/21/2014 at 08:34PM
08/22/2014 at 07:18AM
08/26/2014 at 09:07AM
#299 - @hauleth@hauleth.dev / @hauleth
09/02/2014 at 10:00PM
09/07/2014 at 10:38PM