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

Navigation issue with snacks_explorer #133

Open
twils0 opened this issue Feb 19, 2025 · 3 comments
Open

Navigation issue with snacks_explorer #133

twils0 opened this issue Feb 19, 2025 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@twils0
Copy link

twils0 commented Feb 19, 2025

I'm using LazyVim with snacks_explorer.

In the past, I used neo-tree. tmux.nvim worked really well with neo-tree. If I pressed "ctrl+l" from neo-tree, it would take me to the Neovim window or tmux window to the right of neo-tree, and vice versa for "ctrl+h".

With snack_explorer, let's say I have snacks_explorer open and a Neovim window open to the right of it. If I press "ctrl+l" or "ctrl+h" I can move back and forth between snacks_explorer and the Neovim window. No problem.

Now, let's say I have snacks_explorer, a Neovim window to the right of snack_explorer, and a tmux window to the right of the Neovim window (3 windows split vertically). If I press "ctrl+l" from snacks_explorer, tmux.nvim will skip over the Neovim window and take me to the tmux window. If I press "ctrl+h" from the tmux window, tmux.nvim will take me back over the Neovim window to snacks_explorer. To get to the Neovim window, I have to close either snacks_explorer or the tmux window.

@aserowy aserowy added bug Something isn't working help wanted Extra attention is needed labels Feb 20, 2025
@aserowy
Copy link
Owner

aserowy commented Feb 20, 2025

Heho, tyvm for reporting the issue. Would be awesome if this could get fixed. Can i interest you in a pr? :)

Kind regards
Alexander

@putnap
Copy link

putnap commented Feb 24, 2025

I think this is also related to how snacks is handling picker windows. I encountered similar issues and was unable to get any help unfortunately. This is related to snacks windows being floating windows and folke is refusing to do anything about it.

Because of this, I started looking are there better navigation plugins that might have a workaround for this issue, but it seems that this plugin is also victim of the same issue.

@aserowy
Copy link
Owner

aserowy commented Feb 24, 2025

Ty for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants