Download raw body.
vi(1) issue with paragraph movement
On Thu, 23 Apr 2026 15:12:12 +0200, Walter Alejandro Iglesias wrote: > When you put the cursor in the last character of the last line (EOF) and > try to run a external command entering '!', vi does nothing. You have > to move the cursor back, at least to the penultimate character, then it > reacts. > > I find this annoying: while editing text I usually format the paragraph > with !}fmt (I use a map in ~/.nexrc). It's normal the case you're at > the end of what you're editing, right? In this case you have to move > one character back to be able to run this command. For what it's worth, this is consistent with historical vi behavior, which nvi strives to match. It looks like vim implements the behavior you want. At this point there are probably more vim users than vi/nvi users. I don't have a strong objection to changing the behavior, it is hard to see how making this change this would cause folks problems. - todd
vi(1) issue with paragraph movement