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
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)
The text was updated successfully, but these errors were encountered:
I've mentioned this in other issues but it bears repeating here. I'm not fluent in vimscript and I've just decided to host a copy of this script in GitHub so updates and fixes could be made.
It would be extremely welcome if anyone viewing this issue would be able to help out and update the script to address this problem. Without outside assistance, I'm positive that I won't be able to make the changes myself - vim is still quite a mystery to me.
When I
:w
when editing a binary file withvim -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
orgetloclist
orgetmarklist
(although I'm not sure how to restore from these)The text was updated successfully, but these errors were encountered: