Skip to content

Keep marks when saving on binary file #44

@mjsir911

Description

@mjsir911

When I :w when editing a binary file with vim -b <filename>, all my marks get deleted. This is especially frustrating when undoing a change and saving and not staying on the same line that I was on before saving.

I see that you use winsaveview, it looks like that doesn't include marks. Maybe something to do with :loc or getloclist or getmarklist (although I'm not sure how to restore from these)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions