Add new key binding ctrl-b * to create new floating pane. New panes created at increasing offsets.

This commit is contained in:
Michael Grant
2025-11-07 12:25:59 +01:00
parent 329e9d54ab
commit 3bb4f72a4b
2 changed files with 23 additions and 5 deletions

View File

@@ -358,6 +358,7 @@ key_bindings_init(void)
"bind -N 'Split window horizontally' % { split-window -h }",
"bind -N 'Kill current window' & { confirm-before -p\"kill-window #W? (y/n)\" kill-window }",
"bind -N 'Prompt for window index to select' \"'\" { command-prompt -T window-target -pindex { select-window -t ':%%' } }",
"bind -N 'New floating pane' * { new-pane }",
"bind -N 'Switch to previous client' ( { switch-client -p }",
"bind -N 'Switch to next client' ) { switch-client -n }",
"bind -N 'Rename current window' , { command-prompt -I'#W' { rename-window -- '%%' } }",