mirror of
https://github.com/tmux/tmux.git
synced 2026-01-12 09:20:22 +00:00
Add support to minimise panes, both tiled and floating. New PREFIX _ key binding to minimise a pane. New functions minimise-pane and unminimise-pane. Add double-click on pane in status to minimise pane. Single click on pane in status unminimises pane.
This commit is contained in:
@@ -347,6 +347,10 @@ key_bindings_init(void)
|
||||
{
|
||||
static const char *const defaults[] = {
|
||||
/* Prefix keys. */
|
||||
"bind -N 'Minimise pane' _ { minimise-pane }",
|
||||
/* Mouse button 1 double click on status line. */
|
||||
"bind -n DoubleClick1Status { minimise-pane -t= }",
|
||||
|
||||
"bind -N 'Send the prefix key' C-b { send-prefix }",
|
||||
"bind -N 'Rotate through the panes' C-o { rotate-window }",
|
||||
"bind -N 'Suspend the current client' C-z { suspend-client }",
|
||||
|
||||
Reference in New Issue
Block a user