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):
02/18/2015 at 09:50AM
02/20/2015 at 09:00PM
03/01/2015 at 08:16PM
03/16/2015 at 03:32PM
03/19/2015 at 10:00PM
03/30/2015 at 01:26PM
04/08/2015 at 04:17PM
04/15/2015 at 01:33PM
#489 - we’re going to need a bigger bot / @assaflavie
04/18/2015 at 07:39PM
04/26/2015 at 06:38AM
05/19/2015 at 05:42PM
06/09/2015 at 12:37AM
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