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/10/2014 at 12:48PM
09/16/2014 at 12:31AM
09/16/2014 at 02:51PM
09/21/2014 at 07:42PM
09/24/2014 at 06:37AM
09/29/2014 at 06:30PM
09/29/2014 at 10:33PM
09/30/2014 at 09:28PM
10/04/2014 at 07:24AM
10/29/2014 at 05:31PM
11/02/2014 at 12:24PM
11/09/2014 at 07:45PM
11/13/2014 at 02:01PM
11/19/2014 at 03:44AM
11/20/2014 at 09:08AM
11/22/2014 at 02:09PM
11/30/2014 at 04:19AM
12/10/2014 at 09:36PM
12/10/2014 at 10:37PM
12/15/2014 at 05:18AM
12/17/2014 at 09:30PM
12/19/2014 at 01:51PM
12/22/2014 at 04:16AM
12/29/2014 at 05:34AM
12/29/2014 at 09:51AM
#326 - Carlos A Henríquez Q / @lagunex
01/18/2015 at 03:51PM
02/03/2015 at 12:04AM
03/12/2015 at 08:55PM
03/23/2015 at 09:26PM
04/17/2015 at 07:21AM