tmux is terminal multiplexer software, allowing users to work with terminals using multiple windows and panes, which can be created, removed, attached, and reattached as needed.

learn more… | top users | synonyms

4
votes
1answer
4k views

reload ~/.tmux.conf

In ~/.tmux.conf, I use this bind-key bind-key R source-file ~/.tmux.conf; display-message "~/.tmux.conf is reloaded" but, when I use this tmux create a new session. why ? Edit this is the ...
0
votes
2answers
403 views

tmux: unbind C-[ as a prefix

I have a fairly straight forward .tmux.conf file which does nothing more but to define a couple of options, such as history-limit. I have not added any custom key bindings yet. I find it extremely ...
1
vote
0answers
1k views

Configuring tmux to use Windows key for prefix

Is it possible to use the Windows key in tmux? I'd like to bind my commands to use it as the prefix.
0
votes
1answer
1k views

Configuring tmux to use Alt key for prefix

My current config for tmux is to use ` for prefix key set-option -g prefix ` How can I change this to use the ALT key. Nothing else in combination.
6
votes
2answers
5k views

Customizing tmux status to represent current working directory and files

I've been playing with this for a couple of days, so I'm sure I'm missing something simple. Love tmux. Using it for development and have so many windows I need a better way of distinguishing them in ...
9
votes
1answer
2k views

Let tmux set urxvt window title according to session-name

Everyday I launch a bunch of urxvtc -e tmux. I am trying to find a way to override urxvt X window title ("tmux") with the current tmux session name set via :rename-session session_name. Does any ...
1
vote
1answer
1k views

Clearing Scrollback When Using tmux on Mac OS Terminal

Normally when using Terminal, if I go to View --> Clear Scrollback all previous content in the Terminal app will disappear and the prompt will be available at the top of the screen. When using Clear ...
1
vote
1answer
177 views

In tmux how does one specify a window that automatically follows you between sessions?

I have irssi always running in my tmux session but often switch sessions. Is there a way to configure tmux to have a window follow me from session to session?
1
vote
2answers
794 views

tmux chain keyboard shortcuts, or equivalent for screen's `bind -c` + `command -c`

One nice feature of screen is its ability to assign keyboard shortcuts to groups called "classes". With bind -c, you could assign that shortcuts to a particular class, and binding command -c <...
2
votes
1answer
3k views

tmux: set pane title to currently running command?

How can I make tmux to set pane_title automatically to currently running command? Actually the setting automatic-rename is just what I want for pane_title, but for it's only for window_name.
13
votes
1answer
4k views

What is the difference between screen-256 color and xterm-256color

I've just started using tmux and I'm having trouble with my colorscheme in vim. I've using the zenburn color scheme and it works fine with the default terminal settings in Ubuntu 10.04. However, ...
0
votes
1answer
348 views

How do you prevent tmux from echoing the results of a command in the status bar?

Whenever I execute a command in tmux, for example, set status, the status bar turns yellow and echoes back the results of the command. I find this behavior rather obtrusive. Can I turn this behavior ...
2
votes
1answer
2k views

Can you hide the tmux status bar when starting a program like vim?

Some programs, like vim, look much better without the tmux status bar at the bottom. I have already set up a key that toggles the visibility of the status bar, but it would be even awesomer if the ...
2
votes
1answer
852 views

Trying to set incoming SSH IP address in tmux Status Bar

I'm trying to set the incoming IP address of my SSH client in the tmux status bar but for the life of me I can't figure it out. This is my current setting in my .tmux.conf set -g status-right '#[fg=...
28
votes
2answers
10k views

Maximize window in tmux

tmux shows screen like this: [root@wpc-fc2 init]# |············ |············ ...
1
vote
1answer
282 views

Sigkill terminal emulator

I use tmux. Sometimes I have a terminal emulator open and I'd like to kill it without closing all my tmux windows. Right now I can do it with a ps -u <user> | grep urxvt followed by kill <pid&...
6
votes
1answer
3k views

Tmux with non-alphanumeric prefix

I have tmux 1.5 installed on a couple of Ubuntu machines and I have this in my ~/.tmux.conf: unbind-key C-b set-option -g prefix C-\ So, on a couple of RedHat machines I have ssh access to (but not ...
3
votes
2answers
3k views

Triangular box character used in tmux config

On the wemux readme, there is this image: That's a pretty cool status bar he has there. I can see how it's been done - there's a character that looks something like this: \ ##\ ####\ ######\ ######...
2
votes
1answer
3k views

Solarized background colour off in emacs under tmux

Exhibit I: plain Emacs. Exhibit II: Emacs under tmux. The shades of colours are different, and importantly, the background colour differentiation is nil (e.g. look at the top menu). Anyone run ...
1
vote
2answers
331 views

What does the [0/0] indicator mean when entering copy mode in tmux?

When entering copy mode in tmux, an indicator in the upper right corner shows "[0/0]". I can't find any documentation in the man page about what these numbers mean, and it's difficult to search since ...
0
votes
1answer
231 views

How to search tmux in copy-mode

I ran Ctrl+B [ and tried using '/' (just as in vi) to search for text. But, that didn't work. I'm using iTerm on Mac but I login to a remote server and use tmux there (if that makes any difference).
0
votes
1answer
74 views

What's is the equivalent of down-pane command in tmux 1.4

In tmux 1.2, I have a configure line in tmux.conf bind -n C-o down-pane so that remote user can press Ctrl+O to switch between panes. But in tmux 1.4, down-pane is no longer valid. What's the ...
16
votes
2answers
6k views

How do I know current tmux session name, by running tmux command

I'm writing a script. I really want to know this. I hope tmux executable can tell me this. I find tmux rename <newname> can rename current session. But I can't find a command to fetch its ...
1
vote
1answer
239 views

tmux copy mode search for a Unicode string

In tmux's copy mode, I cannot search for a Unicode (non-ASCII) string, tmux just doesn't show (and just ignore) non-ASCII characters in the "Search Up:" prompt! In ~/.tmux.conf, I have: setw -g utf8 ...
3
votes
1answer
442 views

Is there a tmux version of screen's zombie mode?

screen has a feature called Zombie Mode, which makes it so that when the process of a screen (window or pane, in tmux terminology) dies, the window doesn't close - it just stays there until restarted, ...
0
votes
1answer
75 views

How can I set up a “remote pair-coding” environment linux to linux?

I did some research on how to enable a pair-coding environment remotely so someone else on their MacOx/Linux box could view my screen (I code using vim + the rails plugin). I read Evan Light's blog ...
6
votes
1answer
3k views

Bind keys for scrolling pages in copy mode in tmux

I'd like to be able to map emacs keys (like C-v/M-v) for scrolling in tmux instead of default PgUp/PgDown, is that possible? Can't see that from the manual at the moment (apologies if its there, seems ...
2
votes
1answer
3k views

How do I bind the tmux prefix key to C-'?

I'd like to set my tmux prefix key to Ctrl-apostrophe, but when I use set-option prefix "C-'" or set-option prefix C-"'", tmux complains that "unknown key: C-'". Similarly for ` and :. Is there a way ...
3
votes
2answers
8k views

tmux keyboard shortcuts not working properly

I've started using tmux of recent, and changed the bindings so that it would respond to C-a instead of C-b. These are the lines in the .tmux.conf file to do this: unbind C-b set -g prefix C-a But, ...
6
votes
4answers
5k views

Launching tmux using gnome-terminal

I'm a little confuse regarding how one launches tmux. When I launch my terminal (current gnome-terminal), I would like to have tmux up and running. I'm currently doing this by calling "tmux" in my ....
3
votes
1answer
809 views

tmux equivalent of screen's 'at' command?

GNU screen has a command, at, which lets you control other sessions by sending screen commands to them. Does tmux have something like that? I tried send-prefix and send-keys, but those send keys to ...
8
votes
2answers
3k views

Get current window number for bash prompt

I want to replace status bar with bash prompt displaying window number like ①. How can I get current window number in the shell? There's TMUX_PANE env variable, unfortunately no TMUX_WINDOW. The ...
1
vote
1answer
2k views

Cannot resize tmux pane from bash script

Background and Problem: I have created a tmux script to open a few windows. It works great but then I wanted to place a vertically split pane on one window and resize it to 5 characters tall. I ...
9
votes
1answer
2k views

Looking for non-conflicting cross-platform keybinding consistency

I use Mac OS X and Arch Linux and occasionally log into FreeBSD and Debian servers by ssh. My favoured tools are zsh, ssh, tmux, git, vim and irssi. I use iTerm2 on Mac OS X and unicode-rxvt on Arch ...
3
votes
1answer
3k views

Vim through Tmux looks completely out of whack, is there a way to fix this?

When SSH'd into another machine, I use Vim as my text editor, and I'm trying to add Tmux to my tool set as well. However, when I use vim through Tmux, the colors are completely wrong, and Vim is ...
5
votes
1answer
2k views

Bind Ctrl-Tab to cycle through windows in tmux

I'm trying to figure out how to bind ctrl-tab to cycle through all open windows, I've tried: bind-key -n C-Tab select-window -t :.+ which says Unknown key. What am I missing? Note: I don't want to ...
0
votes
1answer
235 views

Terminal keystrokes confusion

#1 tmux ignores some keystrokes: Ctrl + Delete Ctrl + F* #2 Something similar happens in virtual consoles (even without tmux) with the difference that Ctrl + Delete and Delete behaves the same. ...
2
votes
2answers
2k views

Sending commands to parent tmux session from vim

I have a split window setup with vim and Lynx in tmux. I'm trying to build a script so that I can send a custom command to vim which will save the script I'm working on, switch focus to the Lynx pane, ...
0
votes
1answer
513 views

TMUX: Limit tab's characters

Whenever I listen to music with Music on Console, the tab will display the song’s title, and it is long, it takes up the entire width of my status bar. I want to limit X amount of characters ...
4
votes
1answer
1k views

tmux compilation error in andLinux (Ubuntu)

I'm running andLinux which is based on Ubuntu Jaunty. I'm trying to compile tmux 1.3 on that system and I get the following error message. I've already installed libevent-dev. server.o: In function `...
5
votes
1answer
3k views

Is sharing a tmux sockets between hosts possible?

I'm wondering if it's possible to share a tmux server socket between different hosts. For example, I have a virtual machine (guest) running inside my host, and I'm running a tmux session in the guest, ...
5
votes
1answer
4k views

Can I connect to a tmux session on a server _without_ sharing it with another user or detaching his session?

If I connect to a tmux session with the tmux a command, I end up sharing the session with a friend and we cannot work on our own thing (since we have to work in different windows). On the other hand, ...
1
vote
0answers
133 views

Can tmux list tabs vertically?

Is there a way to get the list of active tabs in tmux to be vertical along the left edge of the window? (Like chrome's --enable-vertical-tabs)
1
vote
1answer
2k views

UTF-8 Not Working in PuTTY when using SSH Remote command

So. I am using PuTTY to connect to a remote server that has an irssi client running for me constantly through tmux. Connecting to the server, and typing "tmux attach" works fine and everything works ...
15
votes
1answer
4k views

How to turn down the timeout between prefix key and command key in tmux?

My ~/.tmux.conf: set -g prefix C-a unbind C-b bind C-a send-prefix bind-key o split-window -v bind-key e split-window -h bind-key w kill-pane (to make the command keys same as GNOME Teminator) ...
3
votes
1answer
977 views

tmux: Link panes?

Is it possible to do this? I've got a window 'dev' with several panes in it. One of those windows is an irssi process. Is it possible to make that same irssi process appear in window 'play' as another ...
4
votes
1answer
3k views

tmux: sharing current window title (#T) from within nested tmux sessions

I have begun using tmux recently to really improve my terminal sessions. One thing I need to be able to do is connect to a remote server, which is also running tmux. However, I have found that the ...
2
votes
0answers
492 views

Changing puttyTRAY's URL regex in order to match URLs across lines separated by tmux window boundaries

I use puttytray to access a shell account on which I have a tmux instance running. Inside tmux, I have irssi running in a window. When people post long URLs in IRC, however, it's annoying since these ...
7
votes
1answer
4k views

How to enter copy mode on mouse scroll in tmux?

The mouse scroll wheel does not work when not in copy mode. I'm not sure whether it is supposed to be working then? When in copy mode, the scroll wheel does work. The problem is that I still need to ...
1
vote
1answer
256 views

In tmux how should I bind a key in the 'emacs-edit' table?

I find that when I am editing a command in tmux, the M-b and M-f are not bound. I tried the following: tmux bind-key -t emacs-edit M-b previous-word But tmux says that's a unknown command. What ...