You can use the -t argument to bind-key.
Original message
From: Sinbad
Date: 04/06/2013 06:40 (GMT+00:00)
To: tmux-users
Subject: map keys in copy mode
how can i map keys in copy mode, for example
i would like to map 'u' page-up and 'd' for
page-down. i know c-u c-d alr
Marco,
I do something similar in setting up new tmux sessions. There may be a more
elegant way but I've not seen it.
To name the session you can do the following…
> tmux new-session -s foo -d
> tmux new-window -t foo -n "Editor"
> tmux send-keys -t foo vim C-m
> tmux new-window -t foo -n "Top" m
Mariusz,
Are you starting tmux on shell login (.bashrc/.bash_profile)? Each pane in
tmux runs as if launched at login--meaning they execute .bash_profile /
.bashrc. Fortunately, by default, nested tmux sessions are not allowed, but
wrap your tmux execution in a conditional to prevent the pane from
On Tue, Jun 04, 2013 at 10:52:25AM +0200, Mariusz.makowski wrote:
> How can i rid of the message:
>
> sessions should be nested with care, unset $TMUX to force
> sessions should be nested with care, unset $TMUX to force
>
>
> Wheever i start Tmux, i get this message.
> i am not starting tmux ins
How can i rid of the message:
sessions should be nested with care, unset $TMUX to force
sessions should be nested with care, unset $TMUX to force
Wheever i start Tmux, i get this message.
i am not starting tmux inside another tmux.
-