Skip to content

Instantly share code, notes, and snippets.

@nicm
Created January 6, 2026 16:11
Show Gist options
  • Select an option

  • Save nicm/c3ccfc80516548c28c366558aedfd1ac to your computer and use it in GitHub Desktop.

Select an option

Save nicm/c3ccfc80516548c28c366558aedfd1ac to your computer and use it in GitHub Desktop.
diff --git a/Makefile.am b/Makefile.am
index b59ca9e9..79d4458a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -106,7 +106,6 @@ dist_tmux_SOURCES = \
cmd-list-windows.c \
cmd-load-buffer.c \
cmd-lock-server.c \
- cmd-minimise-pane.c \
cmd-move-window.c \
cmd-new-pane.c \
cmd-new-session.c \
diff --git a/cmd.c b/cmd.c
index dfb9ca55..ab3ed12d 100644
--- a/cmd.c
+++ b/cmd.c
@@ -69,7 +69,6 @@ extern const struct cmd_entry cmd_load_buffer_entry;
extern const struct cmd_entry cmd_lock_client_entry;
extern const struct cmd_entry cmd_lock_server_entry;
extern const struct cmd_entry cmd_lock_session_entry;
-extern const struct cmd_entry cmd_minimise_pane_entry;
extern const struct cmd_entry cmd_move_pane_entry;
extern const struct cmd_entry cmd_move_window_entry;
extern const struct cmd_entry cmd_new_pane_entry;
@@ -118,7 +117,6 @@ extern const struct cmd_entry cmd_swap_window_entry;
extern const struct cmd_entry cmd_switch_client_entry;
extern const struct cmd_entry cmd_unbind_key_entry;
extern const struct cmd_entry cmd_unlink_window_entry;
-extern const struct cmd_entry cmd_unminimise_pane_entry;
extern const struct cmd_entry cmd_wait_for_entry;
const struct cmd_entry *cmd_table[] = {
@@ -164,7 +162,6 @@ const struct cmd_entry *cmd_table[] = {
&cmd_lock_client_entry,
&cmd_lock_server_entry,
&cmd_lock_session_entry,
- &cmd_minimise_pane_entry,
&cmd_move_pane_entry,
&cmd_move_window_entry,
&cmd_new_pane_entry,
@@ -213,7 +210,6 @@ const struct cmd_entry *cmd_table[] = {
&cmd_switch_client_entry,
&cmd_unbind_key_entry,
&cmd_unlink_window_entry,
- &cmd_unminimise_pane_entry,
&cmd_wait_for_entry,
NULL
};
diff --git a/key-bindings.c b/key-bindings.c
index 12c73347..0c0f50dd 100644
--- a/key-bindings.c
+++ b/key-bindings.c
@@ -346,11 +346,6 @@ void
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 }",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment