Maximize and restore panes in tmux 1.7. (incompatible with <=1.6)
- Copy
pane-maximize*
from here to ~/bin/ directory. - Add a key binding to .tmux.conf:
bind-key m run-shell "pane-maximize -a"
diff --git a/configure.in b/configure.in | |
index 73d90ec..b3a3af2 100644 | |
--- a/configure.in | |
+++ b/configure.in | |
@@ -3,6 +3,7 @@ AC_PREREQ(2.53) | |
AC_REVISION(0.2.3) | |
AC_INIT(themes/default/README) | |
AM_INIT_AUTOMAKE(fvwm-themes, 0.7.1) | |
+AC_CONFIG_HEADERS("") | |
diff --git a/modules/FvwmCommand/FvwmCommandS.c b/modules/FvwmCommand/FvwmCommandS.c | |
index 2e7d456..e1f5272 100644 | |
--- a/modules/FvwmCommand/FvwmCommandS.c | |
+++ b/modules/FvwmCommand/FvwmCommandS.c | |
@@ -370,6 +370,7 @@ void close_fifos(void) | |
*/ | |
int open_fifos(const char *f_stem) | |
{ | |
+ fprintf(stderr, "f_stem: %s\n", f_stem); | |
/* create 2 fifos */ |
diff --git a/trunk/TODO b/trunk/TODO | |
index 1b082e5..49a5737 100644 | |
--- a/trunk/TODO | |
+++ b/trunk/TODO | |
@@ -98,7 +98,6 @@ | |
and a buffer) info() when changing to same window | |
- way to add dest for break-pane; maybe some easier way to unbreak-pane | |
- case insensitive searching | |
-- option to move status line to top | |
- configurable borders and empty space filler for when panes < window? |
diff --git a/trunk/cmd-detach-client.c b/trunk/cmd-detach-client.c | |
index d1010a5..2f70ed3 100644 | |
--- a/trunk/cmd-detach-client.c | |
+++ b/trunk/cmd-detach-client.c | |
@@ -28,7 +28,7 @@ int cmd_detach_client_exec(struct cmd *, struct cmd_ctx *); | |
const struct cmd_entry cmd_detach_client_entry = { | |
"detach-client", "detach", | |
- "s:t:P", 0, 0, | |
+ "as:t:P", 0, 0, |
diff --git a/trunk/window-choose.c b/trunk/window-choose.c | |
index f385763..4967a4c 100644 | |
--- a/trunk/window-choose.c | |
+++ b/trunk/window-choose.c | |
@@ -391,7 +391,7 @@ window_choose_write_line( | |
int | |
window_choose_key_index(struct window_choose_mode_data *data, u_int idx) | |
{ | |
- static const char keys[] = "0123456789abcdefghijklmnopqrstuvwxyz"; | |
+ static const char keys[] = "abcdefghijklmnopqrstuvwxyz0123456789"; |
diff --git a/trunk/cmd-choose-tree.c b/trunk/cmd-choose-tree.c | |
index b33bf34..5aed8c9 100644 | |
--- a/trunk/cmd-choose-tree.c | |
+++ b/trunk/cmd-choose-tree.c | |
@@ -77,6 +77,7 @@ cmd_choose_tree_exec(struct cmd *self, struct cmd_ctx *ctx) | |
struct winlink *wl, *wm; | |
struct session *s, *s2; | |
struct window_choose_data *wcd = NULL; | |
+ struct tty *tty; | |
const char *ses_template, *win_template; |
set-hook -g -n 'before-new-session' 'run "notify-send new-session..."' | |
set-hook -g -n 'after-new-window' 'run "notify-send new-window..."' | |
new -sfoo | |
set-hook -tfoo -n 'after-split-window' 'display-message "I split this window!"' | |
set-hook -tfoo -n 'before-new-window' 'splitw ; run "notify-send YES"' | |
neww -d | |
neww -d |
#0 0x08063e3e in hooks_RB_REMOVE_COLOR (head=0x28405160, parent=0x0, elm=0x284c7d00) at hooks.c:28 | |
28 RB_GENERATE(hooks, hook_entry, entry, hooks_cmp); | |
(gdb) bt | |
#0 0x08063e3e in hooks_RB_REMOVE_COLOR (head=0x28405160, parent=0x0, elm=0x284c7d00) at hooks.c:28 | |
#1 0x0806456e in hooks_RB_REMOVE (head=0x28405160, elm=0x284c7ba0) at hooks.c:28 | |
#2 0x080649de in hook_remove (hhooks=0x28405160, h=0x284c7ba0) at hooks.c:83 | |
#3 0x08064922 in hooks_free (all_hooks=0x28405160) at hooks.c:57 | |
#4 0x08079d5d in session_destroy (s=0x285011d0) at session.c:164 | |
#5 0x0807a29a in session_detach (s=0x285011d0, wl=0x2841b540) at session.c:303 | |
#6 0x08076850 in server_kill_window (w=0x284fe480) at server-fn.c:273 |
diff --git a/tmux.1 b/tmux.1 | |
index 213db74..c9e429f 100644 | |
--- a/tmux.1 | |
+++ b/tmux.1 | |
@@ -124,13 +124,21 @@ loads the system configuration file from | |
.Pa /etc/tmux.conf , | |
if present, then looks for a user configuration file at | |
.Pa ~/.tmux.conf . | |
+.Pp | |
The configuration file is a set of |