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

Start search on the current pane cwd location #14

Open
fungos opened this issue Feb 5, 2024 · 3 comments
Open

Start search on the current pane cwd location #14

fungos opened this issue Feb 5, 2024 · 3 comments

Comments

@fungos
Copy link

fungos commented Feb 5, 2024

If I have 3 panes, each with a different directory set with cwd, when I start monocle to search, it seems to be using only the last cwd in my layout file. Even if I change pane, it will keep the last cwd as the search path.
Ideally, it would be able to use the last focused pane's cwd.

@ErwonB
Copy link

ErwonB commented Apr 25, 2024

Any workaround to use the cwd of the current pane ?

@imsnif
Copy link
Owner

imsnif commented Apr 25, 2024

Hey umm... isn't this already how it is in the latest Zellij and the latest Monocle? That's how it works for me...

@ErwonB
Copy link

ErwonB commented Apr 25, 2024

For me, it's always using the directory from where I started the zellij session.
I'm using zellij 0.40.0 and the latest monocle.wasm

Edit : I think I got it, I wasn't closing the monocle floating pane so it didn't refresh with the new cwd

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

3 participants