[Tex/LaTex] pass “global” options to minted/fancyvrb

highlightinglistingsminted

Is there a way to override default options for the minted environment, rather than having to specify them for each and every snippet of code ?

In other words, is there an equivalent to listings's \lstset command ?

AFAIK the minted package is based on fancyvrb, but I couldn't find anything in there either (I don't really read tex so I only looked at the documentation)

Bonus question: why is there so much blank space (about two blank lines) after a minted listing ?

Best Answer

\fvset{..} mentioned in the documentation several times ...