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):
02/11/2016 at 12:06PM
02/13/2016 at 09:26PM
02/27/2016 at 04:24AM
03/08/2016 at 12:56PM
04/01/2016 at 01:42PM
04/15/2016 at 10:44PM
05/09/2016 at 01:26AM
05/23/2016 at 10:47PM
09/02/2016 at 02:57PM
09/04/2016 at 03:19AM
09/11/2016 at 12:30AM
10/02/2016 at 09:40AM
10/03/2016 at 06:32PM
10/05/2016 at 02:49PM
10/13/2016 at 07:10AM
12/29/2016 at 11:33PM
12/31/2016 at 11:01AM
02/21/2017 at 02:13AM
03/15/2017 at 11:00PM
03/22/2017 at 09:34AM
04/02/2017 at 10:32AM
04/30/2017 at 09:23AM
05/22/2017 at 12:18PM
05/25/2017 at 06:19PM
06/17/2017 at 04:42PM
06/28/2017 at 10:18PM
08/29/2017 at 11:34AM
11/14/2017 at 01:51PM
01/06/2018 at 11:44AM
01/24/2018 at 12:38PM