Skip to content

Unexpected pane creation with run command in keybinding #3810

Answered by imsnif
gunererd asked this question in Q&A
Discussion options

You must be logged in to vote

I'd recommend using the NewTab keybind-action directly rather than invoking it from the CLI: https://zellij.dev/documentation/keybindings-possible-actions#newtab

When you invoke it from the CLI, you're essentially starting a new pane with the output of the above command zellij action new-tab whose sole purpose is to open a new tab. There are ways of getting this pane to close on exit, but I think if you use the above keybindable-action, this problem goes away.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gunererd
Comment options

Answer selected by gunererd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants