Skip to content

Buffer Not Deleted When Navigating and Quitting #40

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

Closed
d0liver opened this issue May 31, 2018 · 1 comment
Closed

Buffer Not Deleted When Navigating and Quitting #40

d0liver opened this issue May 31, 2018 · 1 comment

Comments

@d0liver
Copy link

d0liver commented May 31, 2018

cd649ad causes the buffer to not be deleted when SwoopQuit() is called. Tested against vim 8.0 and NeoVim.

@pelodelfuego
Copy link
Owner

Hello,

Thank you for the investigation !

I checked and succeed to reproduce using your comment, I agree there is an issue.
However, I'm not sure on how to solve this:

My understanding is that upon writing the swoop buffer, vim keep a track of this 'regular' buffer being edited.
As explained in issue #33, we need to have a 'regular' buffer to trigger the WriteCmd event (using :w to apply the swoop buffer).

I don't think we can have the benefits of a special and a regular buffer at the same time,
I close for now but please let me know if you know a way we could get the best of both worlds.

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

2 participants