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):
10/10/2014 at 12:51AM
10/10/2014 at 07:28PM
10/23/2014 at 03:12AM
10/28/2014 at 07:19PM
11/03/2014 at 04:22PM
11/06/2014 at 04:38PM
11/16/2014 at 07:31PM
11/16/2014 at 10:09PM
11/18/2014 at 03:54PM
#460 - Dylan Tomas Meissner / @ickypop
11/23/2014 at 01:28AM
11/30/2014 at 02:29PM
12/04/2014 at 09:56PM
12/06/2014 at 07:20PM
12/07/2014 at 03:21PM
12/17/2014 at 10:21PM
01/07/2015 at 01:32PM
01/19/2015 at 09:22PM
02/15/2015 at 04:07AM
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
#477 - 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