Maverick Vinales will start from pole position after becoming the first MotoGP rider to set a 2m flat lap time around COTA.