You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if the file is modified on disk and :e is used to reload the buffer, the bookmark locations on that file will become incorrect if lines were added/removed from the file externally (not using the same vim instance).
This also happens with vim built-in marks.
There could be a more sophisticated tracking of the bookmarks to prevent losing them in case there's an external change to the file and the buffer is reloaded. Maybe save the line content when :w is used or something like that.
The text was updated successfully, but these errors were encountered:
yuriescl
changed the title
Track lines to prevent inconsistency by buffer reload from disk
Track lines to prevent inconsistency on buffer reload from disk
Nov 7, 2020
Currently, if the file is modified on disk and
:e
is used to reload the buffer, the bookmark locations on that file will become incorrect if lines were added/removed from the file externally (not using the same vim instance).This also happens with vim built-in marks.
There could be a more sophisticated tracking of the bookmarks to prevent losing them in case there's an external change to the file and the buffer is reloaded. Maybe save the line content when
:w
is used or something like that.The text was updated successfully, but these errors were encountered: