imsnif / monocle

A Zellij plugin to fuzzy find file names and contents in style 🧐
MIT License
128 stars 9 forks source link

Start search on the current pane cwd location #14

Open fungos opened 7 months ago

fungos commented 7 months ago

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 commented 4 months ago

Any workaround to use the cwd of the current pane ?

imsnif commented 4 months ago

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 commented 4 months ago

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