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):
08/23/2014 at 05:28AM
08/30/2014 at 10:32AM
08/31/2014 at 03:00PM
09/02/2014 at 10:31AM
09/08/2014 at 03:07PM
09/10/2014 at 09:14AM
09/11/2014 at 09:58PM
09/13/2014 at 09:21PM
09/17/2014 at 01:58PM
09/27/2014 at 08:28AM
09/27/2014 at 01:36PM
10/06/2014 at 02:14PM
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
#472 - 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