News for hackers. Stuff that matters.
Re:Tell HN: A request for saner text-editors by youngian on Friday August 07, 2009 @01:22PM (#748039)
I think this is personal preference. One way is not "saner" than the other, it's just a design philosophy that must be consistent within an app.

I can't speak to Emacs, but Vim assumes that if you put something on the same line, you want it treated as a single line, regardless of where your window is causing text to wrap. For example, dd deletes your whole line, not just the window's line. I think this makes perfect sense in the Vim context, particularly since Vim is geared a bit more towards coding than word processing. How weird would it be to dd

  // Here_ is a really long comment that has wrapped in my
  window
and end up with

  window
left in your editor, no doubt breaking your code?

There are no comments on this comment yet.