-
Notifications
You must be signed in to change notification settings - Fork 44
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
[Feature]: Support zellij #111
Comments
Took a look at the docs to see if the CLI can implement our mux interface:
Unfortunately its not possible without |
Thank you for checking! Maybe the author of zellij can add command line arguments for these things. I can check on their github page and ask, and point to this feature request above. |
Can we just implement partially? Thanks. |
Unfortunately it's not possible without the ability to retrieve current pane ID, and it looks like the PR linked above has not merged yet to Zellij. |
This is now unblocked! |
Actually this is still blocked by Zellij not having conditional mappings. See zellij-org/zellij#967 |
If I may - you can do this either with the |
From the linked plugin README:
However, a |
I was referring to: zellij-org/zellij#967 (comment) |
Ah okay, I haven't tried that but maybe it will work. |
@mrjones2014 If I can help by making part of vim-zellij-navigator more generic, let me know! |
Thanks @hiasr ! Looking at the code, the only thing that jumps out at me is this: Does this mean the user can't configure the keymaps? This is something all the other mux backends support. |
@mrjones2014 I just added configurable modifiers and the resize command in release 0.2.1, I think it now supports all the features necessary. |
Would someone be willing to contribute a simple Zellij config that sets up the required keymaps? Since I don't use Zellij, that will be quite a bit of work for me. If someone could help me with that, I can help with the Lua plugin changes. Ideally the setup would be that we have a config stored in a directory like |
also @hiasr does your plugin support resizing Zellij panes? |
I have never used these kind of plugins before so i don't know exactly what details may be needed in the configuration especially for the neovim integration. The following configuration lets you
Just put it in your config.kdl. Hope this helps!
|
Thanks @hbiel this helps a lot! |
Any updates on this integration or how I may be able to help? Would love to be able to use Zellij instead of tmux with smart-splits |
I like how this neovim plugin tells wezterm that neovim is active through a user variable. This brings a lot of robustness (no dependency on binary names, it's all in the application's behavior). The latest version of zellij should make it possible to send something similar to a zellij plugin through pipes. I was thinking of creating a small plugin almost similar to https://github.com/hiasr/vim-zellij-navigator that would be specialized for this plugin but I haven't found the time yet to assess if a small contribution to vim-zellij-navigator would suffice to support all functionality featured by this neovim plugin. Other than that I'm not entirely sure how to implement |
Sorry yall, it’s been crazy at my day job, haven’t had time to dedicate to open source lately.
yeah, there’s another backend that does the same, with the caveat that the cursor should not have moved by the time the function returns (e.g. you can move to check, but then move it back to the original pane) |
Similar Issues
Description
Since this plugin has tmux support, could it also support zellij (https://zellij.dev/documentation)?
It's a popular and newer alternative to tmux and maybe it's easy to support it? Just posting this so you can see if it would be easy or hard.
The text was updated successfully, but these errors were encountered: