Skip to content

Key Bind to open floating pane plus resize it. #3573

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

You must be logged in to vote

You can kind of do it like this (replace 'bash' with your shell of choice):

bind "n" { Run "bash" { floating true; x "12%"; y "12%"; width "75%"; height "75%"; }; SwitchToMode "normal"; }

Otherwise you can also do this through the CLI:

zellij action new-pane --floating --width 75% --height 75% --x 12% --y 12%

The NewPane keybinding has unfortunately not caught up yet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gluiz1
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