I often want to print a piece of code to either mull over it or discuss it with someone else. However the text editors I use all seem to turn on word wrap when printing. Gedit for example has an option to turn off text wrap, but it prints out with the text wrapped anyway.
I find this very difficult to read, (I remember a lot of my code by its "shape", so this completely messes it up).
Can anyone recommend a Linux text editor, preferably with (Python) syntax highlighting, where you can turn off word wrap when printing.
:set nowrap) – daviewales Feb 6 at 15:42