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

bookmarks handling with multiple instances of vim #182

Open
PlasmaHH opened this issue Feb 14, 2023 · 0 comments
Open

bookmarks handling with multiple instances of vim #182

PlasmaHH opened this issue Feb 14, 2023 · 0 comments

Comments

@PlasmaHH
Copy link

Hi, whether this is a bugreport, feature request or just a question on how to configure things is up to the reader, as I am not sure how to possibly solve the issue I have.

I have multiple git projects and also lots of files outside git projects. Now the documentation offers a few functions to store the bookmarks in different places but it all doesn't really work for how I use things.

In bigger projects I have multiple instances of vim running as I have a bunch of files open that belong to one part of the project (e.g. code) and then one for another part (e.g. documentation) and so on. Using the way to store things in .git/.vim-bookmarks will result in both vims overwriting the file for each other still.

So I thought about rewriting the function to store in a subdirectory for each file like ~/.vimundo ... This would only clash if I had a file open in multiple vims which of course nobody needs to support... however then there is the issue that "ma" only shows the bookmarks from the open files, while it would then be really good to have them all from the current project.

So what I really would like to see is them being stored in .git/.vim-bookmarks/one_entry_per_file ( or ~/.vim-bookmarks/ repectively for when there is no project auto detected ) but on loading and detecting whether in a project or not it should read all the files from the found directory so I have all bookmarks loaded (either for the project or globally ) also for files not opened...

I think that needs some extra support in the plugin and can't be solved with any such file search function....

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