auto-save.nvim icon indicating copy to clipboard operation
auto-save.nvim copied to clipboard

bug: Auto-save clobbers marks `[ and `]

Open textzenith opened this issue 2 years ago โ€ข 2 comments

Hi,

I really like this plugin โ€” it's amazing for Flutter dev! โ€” but it does create some strange bugs at times.

I've realized that autosave sets the 'last previously yanked or changed text' to the entire file.

You can try it โ€” paste something with autosave turned on, then try and go to the ends of your paste by using `[ and `], and it should take you to the start and end of the file instead.

Can you reproduce?

Might take some annoying / architectural changes to fix it, but please let me know if you know the reasons why, as I might still be able to hack together a fix in my local config ๐Ÿ™‚

Thanks!

textzenith avatar May 24 '23 22:05 textzenith

Just out of curiosity, did you try on the more maintained fork? https://github.com/okuuva/auto-save.nvim

primeapple avatar May 25 '23 09:05 primeapple

I tried and it still seems broken, https://github.com/okuuva/auto-save.nvim/issues/44

simonmandlik avatar Apr 18 '24 09:04 simonmandlik