Download raw body.
vi(1) issue with '!)fmt' at the EOF
Thus said Todd C. Miller on Thu, 23 Apr 2026 20:32:59 -0600: > Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor > incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis > nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Interestingly, because this input is technically 1 sentence (because the period following aliqua does not have 2 spaces) it's a good example. Where there seems to be some inconsistency is that the ) command from column 0 of your paragraph will move the cursor to the end of the last line. So clearly the motion "worked" to move the cursor to the last line. Perhaps in this case the !)fmt should also work? However, keep in mind that the man page states that a sentence is considered as such only if certain punctuation is followed by 2 spaces. This means that the ) motion will behave differently (than your example) with the following 2 sentence paragraph if you place the cursor on column 0 and press ) to navigate to the Ut. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. In this case, I would expect the !)fmt command from column 0 to NOT filter the last line because it will stop on the line where the first sentence ends (per the definition in the man page). Andy
vi(1) issue with '!)fmt' at the EOF