On 12:06:02 Dec 25, Pieter Verberne wrote: > In Vi I set "set wl=72" (wl = wraplen). But when I remove text in the > middle of a sentence, the text won't shift. This makes the line less > than 72 characters. I think Vim does shift the sentence automaticly?
No, vim does not shift either. I was under the impression that there is no need to justify sentences that way. As long as lines are under 72 characters I am quite alright. If you remove something in the middle, it is going to be less than 72 characters anyway. If you want to justify/fill correctly, then you end up using fmt at the end. I have a problem with using post processing tools. I want everything to happen on the fly. I just checked out the 'wl=72' stuff in vi. Works exactly like 'tw' in vim. I then did an fmt in the end. The result looks much better of course. But there is a problem. The quoting gets goofed up. One has to do it with little more care I guess. Looks like I misunderstood then. > Something like 'd-{'? I don't get you. You mean 'd' and '{'? Doesn't work for me. Perhaps I misunderstood? I want to delete everything from current line till end of file. In vi, it corresponds to :,$d -Girish