John Beckett schrieb: > Torsten Andre wrote: > >> For example in python, when I write something like this: >> >> print "This is a very long line...." >> > > Automatic wrapping is for when you are writing pure text (like > this email). Do not use it for programming. > > In Python, your choices are: > > print "Hello..." \ > "World..." > > and when you need a lot of text: > > LONG_MSG = """\ > Hello... > World... > """ > > print LONG_MSG > > Use pylint (some Python extra, nothing to do with Vim) to find > stuff you want to change, or use the following tip to find long > lines: > http://vim.wikia.com/wiki/Highlight_long_lines > > John > > > >
Thanks a lot everyone! I will deactivate this when writing code and do the wrapping manually. The tip about highlighting long lines is fantastic! Cheers, Torsten --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
