[PROPOSED FEATURE & PATCH] Add the ability to automatic renaming to show the cwd.

2012-12-09 Thread Patricio Palladino
Hi tmux community! I have been using tmux for the last year, and has became an essential tool for my development job, but I used to use panes almost exclusively until some months ago. I think automatic renaming is a great feature to remember which tab is which, and I couldn't live without it. But

Re: [PATCH] Use CMD_TARGET_* macros across all commands

2012-12-09 Thread Nicholas Marriott
Applied, thanks. On Sat, Dec 08, 2012 at 08:32:48PM +, Thomas Adam wrote: > Don't manually specify the target for the command's usage string and instead > use the predefined macros for them which are already used in other places. > --- > cmd-capture-pane.c| 3 ++- > cmd-display-message.c

Re: Setting pane title repeatedly causes status line problems

2012-12-09 Thread Nicholas Marriott
Hmm actually this is weird because you say it only happens with PROMPT_COMMAND set to change the title. My guess is that something is funny with the way iTerm2 etc set the title and changing TERM is a red herring. Could you try this and see if it makes any difference: diff --git a/tty.c b/tty.c i

Re: Tmux hangs after a while

2012-12-09 Thread Ben Boeckel
On Sat, Dec 08, 2012 at 18:29:24 GMT, Guang-Nan Cheng wrote: > set-option -g set-titles-string "@#(hostname | sed 's/..*//')" Why not use #h or hostname -s? --Ben -- LogMeIn Rescue: Anywhere, Anytime Remote support

Re: Setting pane title repeatedly causes status line problems

2012-12-09 Thread Adrian Luff
It occurs once in a great while with xterm-color. -Adrian On Nov 21, 2012, at 4:18 PM, Adrian Luff wrote: > tmux should catch the escape sequence consistently but I seem to have found a > race condition case where it doesn't. Adding... >> export PROMPT_COMMAND="${PROMPT_COMMAND}; printf '\e]2;

Re: Tmux hangs after a while

2012-12-09 Thread Guang-Nan Cheng
bind C-a last-window bind C-n next-window bind p previous-window bind | split-window -h #unbind C-b unbind % # mode-keys set-window-option -g mode-keys vi # View set -g status-interval 5 set -g status-left-length 100 set -g status-right-length 50 set-option -g set-titles on set-option -g set-