When I use
listings package as is, line numbers appear in the margin and the listing lines start at the margin. I know a workaround of putting each listing into a minipage with
\noindent, but it is tedious.
It there a global setting that could push the line numbers right to begin at the margin?