2 ms·
What kind of file have such long lines? Have you considered a text editor that can wrap lines?
by cup-of-tea 9y ago
What kind of file have such long lines? Have you considered a text editor that can wrap lines?
- patrickg 9y agoData files and source code. Sure I have considered using line wrap, but I don't like it.
- cup-of-tea 9y agoI've always avoided this by formatting source code to fit in 80 chars, using "long" data format where possible, and just not editing big data files interactively (I use sed or awk).
- nf05papsjfVbc 9y agoDepending on how long the lines are, wrapping may turn out to be a pain in the neck because (part of) one or two lines take up the entire pane. So, though wrapping long lines works sometimes, it genuinely is impractical at other times. Also, like the other poster says, it's a matter of preference too. If someone likes to edit a line while having an eye on the lines below and above it, wrapping doesn't help.