Nikolai Weibull wrote:
[...]
However, it can sort of be simulated by having marks that stick to the
text position that they mark, instead of line + fixed column.  (We
don't have this kind of mark at the moment.)

 nikolai



IIUC, Vim's marks _are_ normally anchored to the text they mark, not to line numbers. (Deleting text deletes any marks contained in it; undoing a delete restores any marks that had been deleted; altering text adjusts the lines and columns of any marks after the change so that they stay with the same text). If you want marks to keep their line numbers, you must use the ":loc[kmarks]" prefix (q.v.).


Best regards,
Tony.

Reply via email to