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):
06/13/2015 at 08:39AM
07/11/2015 at 04:08PM
07/28/2015 at 03:39AM
08/26/2015 at 06:23AM
08/30/2015 at 08:56AM
09/01/2015 at 09:11PM
09/29/2015 at 02:34PM
10/15/2015 at 04:58PM
10/17/2015 at 10:56PM
10/18/2015 at 06:08PM
10/18/2015 at 10:57PM
11/15/2015 at 05:49PM
01/02/2016 at 09:00PM
01/05/2016 at 12:10PM
02/06/2016 at 01:49PM
02/24/2016 at 08:23AM
04/20/2016 at 12:34PM
05/06/2016 at 02:14AM
05/10/2016 at 01:19AM
05/15/2016 at 07:59PM
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