-
Hello, I'm trying to make a plugin that opens a subdirectory in a new tab, but I can't find a way to do it. I looked around other plugins, I can't find a plugin that opens new tab. Could you please let me know which API I should use to open a new tab? |
Beta Was this translation helpful? Give feedback.
Answered by
imsnif
Jul 7, 2025
Replies: 1 comment 1 reply
-
Best way to do this right now is to use https://docs.rs/zellij-tile/latest/zellij_tile/shim/fn.new_tabs_with_layout.html and specify I can understand this isn't the best or most convenient solution though, so will try to add better APIs around creating custom tabs soon. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
dorage
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Best way to do this right now is to use https://docs.rs/zellij-tile/latest/zellij_tile/shim/fn.new_tabs_with_layout.html and specify
cwd
in the layout.I can understand this isn't the best or most convenient solution though, so will try to add better APIs around creating custom tabs soon.