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

feat(jumplist): allow opting out of removing unloaded buffers #29347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zeertzjq
Copy link
Member

@zeertzjq zeertzjq commented Jun 15, 2024

Problem: Cannot opt out of removing unloaded buffers from the jumplist.
Solution: Only enable that with "unload" flag in 'jumpoptions'.

Close #28968

Disclaimers:

  1. I don't fully understand the jumplist code, some code added here are just the code deleted in fix(jumplist): Ctrl+o, Ctrl+i behave unintuitively when deleting buffers #25461.
  2. I haven't decided if "unload" is the best name for this flag.

Problem:  Cannot opt out of removing unloaded buffers from the jumplist.
Solution: Only enable that with "unload" flag in 'jumpoptions'.
@justinmk
Copy link
Member

I was also hoping that @vE5li was still planning to simplify the jumplist code: #25461 (comment)

@vE5li
Copy link
Contributor

vE5li commented Jun 19, 2024

I already started working on it

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

Successfully merging this pull request may close these issues.

After closing a buffer, Ctrl-o no longer re-opens the buffer
3 participants