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

go_to_previous() Not working if I use tab drop #15

Open
ariel-frischer opened this issue May 6, 2023 · 1 comment
Open

go_to_previous() Not working if I use tab drop #15

ariel-frischer opened this issue May 6, 2023 · 1 comment

Comments

@ariel-frischer
Copy link

Most of my telescope pickers use tab drops for opening files or buffers. This go_to_previous does not work if I use tab drops and I don't know why?? I think perhaps TabEnter or TabLeave au doesn't get triggered??

@ariel-frischer ariel-frischer changed the title go_to_previous Not working if I use tab drop go_to_previous() Not working if I use tab drop May 6, 2023
@LukasPietzschmann
Copy link
Owner

I think perhaps TabEnter or TabLeave au doesn't get triggered??

This is what I also thought at first. But it turns out the issue is that TabEnter is triggered multiple times!

It kinda looks like neovim is "iterating" over all tabs, which always causes the last tab to be registered as the previous.

I'm currently a bit short on time. But I'll try to look more into it tomorrow.

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