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
570 remaining solutions by
signing in and submitting your own entry
#571
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
571 active golfers, 1948 entries
Leaderboard (lowest score wins):
02/02/2018 at 05:22PM
03/14/2018 at 03:08PM
04/05/2018 at 03:59AM
04/15/2018 at 03:02AM
05/25/2018 at 04:38PM
07/01/2018 at 09:44PM
07/05/2018 at 02:12AM
07/11/2018 at 06:04PM
08/17/2018 at 05:14AM
09/29/2018 at 10:18PM
10/14/2018 at 03:51PM
11/09/2018 at 06:51AM
11/19/2018 at 06:17PM
12/02/2018 at 12:54PM
12/04/2018 at 06:15AM
12/07/2018 at 04:37AM
12/08/2018 at 11:22PM
12/20/2018 at 03:41PM
01/29/2019 at 01:40AM
04/15/2019 at 01:01PM
05/06/2019 at 12:14AM
05/06/2019 at 03:07AM
06/07/2019 at 03:25AM
06/18/2019 at 08:52AM
07/01/2019 at 08:54AM
07/29/2019 at 11:30AM
08/09/2019 at 08:03AM
08/15/2019 at 05:11PM
10/11/2019 at 07:57AM
10/23/2019 at 11:21PM