Plugin API: Make it possible to encode or send keybindings
Author: TorsteinwsCreated Sep 30, 2026Updated Sep 30, 2026
Labelsplugin system
- I need a new API
Greetings, I am working on a zellij plugin for smart-splits.nvim.
I would like to send a keybinding such as Ctrl+Alt+h to a nvim pane. This is a bit cumbersome to achieve because zellij only provides API for sending bytes or characters.
This means I will have to roll my own encoder for both the kitty protocol and the legacy protocol – which is a ton of overhead for a task that should be simple.
Zellij already does this serialization internally, so it would be really nice if it could expose an API that simplifies this workload for plugin devs.
Source: zellij-org/zellij