You are not logged in.

#1 2012-10-14 12:49:12

netpumber
Member
Registered: 2009-09-20
Posts: 134

[SOLVED] tmux cannot create a new window

Hi.

I'm trying to create a new window pressinf (Ctrl-a + c ) in tmux but tmux doesn't create anything.

Here is the .tmux.conf

# Statusbar properties.
set -g display-time 3000
set -g status-bg black
set -g status-fg cyan
set-window-option -g window-status-current-attr bright,reverse
set-window-option -g window-status-current-bg cyan
set-window-option -g window-status-current-fg black

# Use c-a instead of c-b as the prefix
unbind C-b
set -g prefix C-a
bind C-a send-prefix
bind a send-prefix

# Bind function keys.

nd -n F1 select-window -t 1
bind -n F2 select-window -t 2
bind -n F3 select-window -t 3
bind -n F4 select-window -t 4
bind -n F5 select-window -t 5
bind -n F6 select-window -t 6
bind -n F7 select-window -t 7
bind -n F8 select-window -t 8



#select-window -t 1

Last edited by netpumber (2012-10-14 16:35:47)

Offline

#2 2012-10-14 13:01:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] tmux cannot create a new window

Works for me.
If you're using Gnome, you may be bit by a bug: https://bugs.archlinux.org/task/31910 & https://bugs.archlinux.org/task/31946


BTW, not sure if it's just a bad paste - you're missing two letters:

# Bind function keys.

bind -n F1 select-window -t 1

Offline

#3 2012-10-14 13:04:42

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: [SOLVED] tmux cannot create a new window

No i'm using dwm and doesn't works. It only has one tab in the bottom bar called bash*.
And yes this is a bad paste.

Offline

#4 2012-10-14 13:16:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] tmux cannot create a new window

I'm using dwm too.
Not sure if you've used tmux before, maybe you're not familiar with the bindings. You need to press and hold Ctrl, press 'a', release Ctrl and press 'c'.

Last edited by karol (2012-10-14 13:17:08)

Offline

#5 2012-10-14 14:26:08

netpumber
Member
Registered: 2009-09-20
Posts: 134

Re: [SOLVED] tmux cannot create a new window

You need to press and hold Ctrl, press 'a', release Ctrl and press 'c'.

Oh Thank you! Thats it!

Offline

#6 2012-10-14 14:29:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] tmux cannot create a new window

Please mark as solved. 

BTW, I love the tmux.  `

Offline

Board footer

Powered by FluxBB