justinmk / vim-dirvish

Directory viewer for Vim :zap:
Other
1.18k stars 64 forks source link

Marks are very buggy in dirvish buffers #210

Open ViciousBadger opened 3 years ago

ViciousBadger commented 3 years ago

They seem to move around on their own. That being said, I'm not sure a plugin like this should be working with marks in the first place - but it would be very nice to be able to mark files, directories etc as a kind of vim-style bookmark system.

Steps to reproduce:

justinmk commented 3 years ago

yeah, global marks kinda work but have the issue (at least) you mentioned. Would love it if they were more stable, but only willing to do this if there's a way to preserve them in bulk. Having tons of code trying to save/restore every mark is not an option.

In particular there's probably way to make this not horrible if 'hidden' is set or with shada/viminfo.

Ideas

  1. avoid rewriting the buffer if the directory contents didn't change.
  2. ...