I can\'t stop vim from wrapping my Python code. If I enter :set nowrap like a champ, but it still wraps.
:set nowrap
I can hit J to unite the split lines
set formatoptions-=t should do the trick. set formatoptions+=t will turn auto-wrapping back on.
set formatoptions-=t
set formatoptions+=t
For more information on what you can do with formatoptions, see the docs.
formatoptions