There is an option In Edit > Preferences > Editor > Preview straight line immediately on Pencil tool
(and there is a typo right there )