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

Support save_key that is non-dependent of git/cwd, but rather on a per-session basis #95

Open
ema2159 opened this issue Nov 7, 2024 · 0 comments

Comments

@ema2159
Copy link

ema2159 commented Nov 7, 2024

Hello. I was trying out your plugin and I really love the concept. However I was wondering why the bookmarks need have the cwd or git as a reference and not be stored without such a reference, but rather using the current session? At work, there is a significant amount of time I work outside of git (unfortunately, and there's not much I can do about it), and I have the vim.opt.autochdir = true option configured, so each time I move to a file that is on a different directory, arrow messes up the marks.

I figured that I could set the global bookmarks setting to make it work the way I described, but then my bookmarks are (surprise surprise) global, which interferes when I have two Neovim sessions open which I do quite often when for example, when I am working in two different non-git repositories (or one git repository and one non-git repository, you get the idea).

Is there a way to support a per-session bookmarks functionality? Currently and as far as I could examine in the code it is not possible. I can help with the implementation if needed, but I want to know that it is something you would be willing to support.

Thanks again for the great plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant