-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
Switching between sessions clears harpoon entries #594
Comments
This could be due to your cwd changing. Changing the key function in the harpoon settings might help. The default is |
This could be it. I will look into it as soon as I have a bit more time. |
Unfortunately, custom keys are broken right now. Which might actually be the root cause for your issue. Might be worth trying the branch from #572 |
No... I tried the pr but my harpoon entries are still completely empty after switching sessions. Maybe the sessions plugin actually removes some entries? I hope I can look into the source code soon. |
I also have a problem that may be associated with this issue:
|
same issue here, is there a way to save the harpoon list in a session file @ThePrimeagen ? already tried changing the key and it didn't help |
after taking a look at the code and understanding how harpoon is working, what worked for me was delaying the initialization of harpoon until the directory returned by |
Yes, this is harpoon2.
So, I use the session-lens and auto-session plugins from rmagatti to switch between my projects. But when doing so, all entries of harpoon are being cleared.
My neovim configuration is available here: https://github.com/sevi-kun/nvim
The text was updated successfully, but these errors were encountered: