On sze, aug 08, 2012 at 13:41:31 +0200, LEVAI Daniel wrote:
> > 
> > Hi!
> > 
> > 
> > I'm using tmux's default prefix key ^b, but I needed an alternate prefix
> > key too, so I've used 'set-option -g prefix2 C-a'.
[...]

Nicholas Marriott <nicholas.marriott@gm...> -   2012-08-08 12:33
> You need
> 
> set -g prefix ^a
> bind ^a send-prefix
> set -g prefix2 ^b
> bind ^b send-prefix -2

With these options I get ^B by pressing CTRL+a+a or CTRL+b+b. Still
no ^A in my terminal.


Here is my ~/.tmux.conf:
----------------------8<----------------------
set-option -g default-shell /bin/pdksh
set-option -g default-path /home/daniell
set-option -g prefix2 C-a


set-option -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID 
SSH_CONNECTION WINDOWID XAUTHORITY"

set-option -g display-time 400
set-option -g status-keys vi
set-option -g status-right ""
set-option -g status-left "#S/#I%%#P"
set-option -g status-interval 1
set-option -g visual-bell on
set-option -g bell-action any
set-option -g history-limit 15000
set-option -g buffer-limit 100
set-option -g lock-command vlock

set-window-option -g mode-keys vi
set-window-option -g utf8 on
set-window-option -g xterm-keys on


bind-key R set-window-option automatic-rename
bind-key S set-window-option synchronize-panes
bind-key L lock-client
bind-key N new-session
bind-key C capture-pane
bind-key A new-window -k -t 9 alsamixer
bind-key M set-window-option monitor-activity
bind-key C-a send-prefix -2
----------------------8<----------------------


Daniel

-- 
LÉVAI Dániel
PGP key ID = 0x83B63A8F
Key fingerprint = DBEC C66B A47A DFA2 792D  650C C69B BE4C 83B6 3A8F

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to