Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marks are very buggy in dirvish buffers #210

Open
ViciousBadger opened this issue Aug 29, 2021 · 1 comment
Open

Marks are very buggy in dirvish buffers #210

ViciousBadger opened this issue Aug 29, 2021 · 1 comment
Labels

Comments

@ViciousBadger
Copy link

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:

  • Open dirvish
  • Place a mark on some file, eg. by typing mM
  • Browse around for a bit and head back to the directory where your mark is at
  • The mark is now somewhere else, usually on the first line of the directory listing
@justinmk
Copy link
Owner

justinmk commented Aug 29, 2021

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. ...

@justinmk justinmk added the bug label Aug 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants