tmux is a terminal multiplexer, which allows users to work with terminals in terms of windows and panes, which can be created, destroyed, attached, and reattached at will.

learn more… | top users | synonyms

0
votes
0answers
24 views

tmux - Is it possible to configure copy mode to use [Enter] for BOTH begin and end?

That is, I want tmux to behave like screen, where I push Enter once to start selecting, and push Enter again to actually copy. I tried doing this in my tmux.conf: bind -t vi-copy Enter ...
1
vote
0answers
104 views

How do I correctly rebind select-pane commands in tmux?

By default, tmux seems to be using C-b, Left to move left a pane C-b, Right to move right pane ... I want to use C-b, h to move left a pane C-b, l to move right a pane ... Here's my current ...
1
vote
1answer
380 views

tmux - What does bind-key -r mean?

When I am running in tmux and use C-b ?, I can get a list of all the commands. However, I observe that some commands are bind-key, followed by the command, and others are bind-key -r, followed by ...
1
vote
0answers
131 views

Ctrl-C does not work in tmux window

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board ...
5
votes
2answers
178 views

Get irssi to beep on new message in tmux session

I have a tmux session with several windows. One of those windows is running irssi. I spend most of my time connected to one server and in one channel, so I'm not really changing windows inside ...
0
votes
0answers
100 views

keybinding ctrl+shift+key combos in tmux

Once I had asked a somewhat relevant question in unix&linux. Currently I'm trying to map ctrl+shift+c combo to copy the text in tmux buffer to x clipboard. I can bind it to ctrl+c using: ...
2
votes
2answers
200 views

Updating window indexes with tmux?

Using tmux, I closed a window indexed 3, so now I have 1,2,4, ... I'd rather have windows sequential, so is there any way to force them to re-index?
0
votes
0answers
41 views

tmux terminal integration with gterm

I think that I ran across a blog entry at some point which featured a modification to gterm which tightly integrated with tmux -- allowing different gterm tabs to contain alternate tmux screens or ...
2
votes
2answers
371 views

Why won't top command show the right result?

You want to find the line 3427 1 root S 36964 124% 2% tmux -L l in the following screenshots of top command. Why can tmux use more than 100 percent of memory? That is confusing... Is ...
1
vote
2answers
147 views

Is it possible to spawn an ssh-agent for a new tmux session?

I've seen lots of hacks for re-establishing contact with a GUI session's SSH agent from within tmux (and screen) sessions. I'm wondering if it's possible to de-couple from the GUI and spawn an ...
2
votes
1answer
76 views

tmux can't handle short cuts that use my alt key

tmux can't handle short cuts that use my alt key For example: bind-key -n M-l next-window bind-key -n M-h previous-window I have noticed that when I type M-l and M-h in my shell I get these ...
3
votes
2answers
345 views

How can I prevent tmux exiting with Ctrl-d?

I use tmux on my server and recently I found to my cost that ctrl-d will exit tmux and lose all the session information, my intention was to simply end the ssh session but failed to notice I was still ...
0
votes
1answer
50 views

How to switch to another window when Ctrl + B does not work for tmux?

As we all know tmux is quite nice tool, but there are some scenarios that Ctrl+B cannot be used. For example, when I sshd to server A and now I connect to A's tmux pty. So Ctrl+B is captured by ...
2
votes
1answer
83 views

tmux session switcher now displays windows belonging to sesions

I recently compiled tmux from source rather than going through homebrew for some reason I can no longer recall. At the same time, switching sessions via ^b sstarted to display all of the windows under ...
0
votes
0answers
68 views

how to remove tmux copy-mode line number indicator

When I enter to tmux copy-mode, indicator in form [line/total lines] appears at the right up corner. The problem is when I use native xterm scrolling with Shift+PageUp, this indicator remains on each ...
6
votes
1answer
277 views

Native xterm mouse scrolling in tmux

I have decided to try tmux as GNU screen replacement and wonder if there is a way to scroll with mouse as in xterm? It is possible to enable native xterm scrolling with Shift + PageUp in tmux by set ...
1
vote
1answer
172 views

Tmux causes Emacs glitch

Recently I started using Tmux, but I noticed that it causes a strange Emacs glitch. When I open source code for elisp or haskell, the comments aren't highlighted. Only the comment sign is (; in case ...
2
votes
1answer
106 views

tmux - How to start executable initially?

With GNU screen I could do, for example: screen -S monitor top A screen would start executing top, and if top ended the screen session would end. Is there a way to do the same thing with tmux? ...
1
vote
1answer
342 views

tmux - How to NOT automatically exit copy mode when scrolling down?

This question ( Scroll shell output with mouse in tmux ) already answers the base question of how to mouse-scroll UP in tmux, but this method also automatically exits copy mode once it detects a ...
1
vote
2answers
227 views

Why doesn't tmux respond to shortcuts properly?

I'm using OSX 10.8.1 in combination with iTerm2, zsh and tmux via Homebrew. The beginning of my ~/.tmux.conf file looks like this: set -g prefix C-a unbind C-b bind-key a send-prefix set -sg ...
0
votes
0answers
145 views

Terminal with session management and scrollback OS X

I use GNU Screen all the time in OS X, primarily running on the server side of my SSH connections in order to maintain persistence, while multitasking. The beauty is that if I get disconnected, all ...
3
votes
2answers
175 views

Does using a tiling window manager make a terminal multiplexer obsolete? [closed]

Since about half a year I have been enjoying a terminal multiplexer (tmux, to whomever it may concern), and have grown to like it. I would like to try a tiling WM as opposed to a stacked one some time ...
3
votes
1answer
186 views

Tmux: Prompt to select window for join-pane while still seeing window numbers and titles?

I routinely join panes in tmux, and would like to create a binding that would prompt me for the window to join, while still letting me see the window numbers and titles. My first approach was based ...
0
votes
0answers
33 views

Source scripts/functions

I created/copied a few scripts I'm using regularly in tmux. For example, tmux-split-panes script that cd's into the same directory it was split from. I call the script using send-keys ...
3
votes
1answer
144 views

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes?

Anyone know how I can use the same keys to move between Vim windows as well as Tmux (or tiling WM) panes? For example when I use my key combination to move to the right pane within VIM, VIM should ...
3
votes
2answers
198 views

gnu screen - get list of window titles

How can I obtain information (title, created time, visible content) about windows in a screen session? I need to do this in a script, so I am not looking for key bindings or interactive commands. ...
0
votes
1answer
163 views

tmux unbind arrow keys

Having switched to vim-style pane navigation in tmux with the following: bind h select-pane -L bind j select-pane -D bind k select-pane -U bind l select-pane -R How can I turn off the original key ...
6
votes
1answer
262 views

Is there an easy way to save a byobu session such that I can reload it after a reboot?

I understand that there is a way of defining windows that are opened in a session by saving configuration files in $BYOBU_CONFIG_DIR. But is there a way (command or script) to save the current session ...
2
votes
1answer
138 views

How to capture session name into tmux variable?

I want to execute an external command based on the value of my session name. I know that the :display-message '#S' will give me the session name, but I want to have that name automatically sent to my ...
8
votes
4answers
571 views

tmux slow to interrupt process with Ctrl-C

If I run a command with a lot of output in tmux, but decide to cancel it with Ctrl-C, there's a 10-15 second lag before it stops. However, if I do the same thing outside of tmux, it stops immediately. ...
6
votes
2answers
2k views

tmux auto resize panes

in vim, with C-W = the windows are auto resized to the same height. in tmux, with :resize-pane -U 10 I can increment the height of tmux pane in 10. how I can auto resize the panes to the ...
1
vote
1answer
781 views

Connecting a tmux pane to a remote server

I am quite new to tmux and don't really know how to use it to it's best effect so what I am trying to do might not be the best way of doing it. Feel free to give alternative suggestions! The setup: I ...
1
vote
2answers
227 views

Keyboard shortcut for switching panes in tmux in iTerm2 on OS X

I have tmux installed with iTerm2 on OS X. While I can do Cmd+left/right to switch between tabs, I cannot seem to be able to switch between panes under the same tab using Ctl+b o (that is, Control ...
2
votes
1answer
233 views

tmux - shortcut not responding

Until a few days ago, tmux was working fine. Suddenly, I don't know what my colleague did, but the shortcuts stopped working. We're both using tmux on a remote server (two different sessions), but ...
1
vote
1answer
74 views

tmux pane continuation

I would like to have a very tall virtual display to browse code in vim. Is it possible to split tmux into two column panes, so that the right pane continues the left pane? So that I can scroll in one ...
5
votes
1answer
595 views

Send ctrl-a in tmux

I'm using tmux as a replacement for GNU screen, and I'm using set-option -g prefix C-a to use C-a as my default. This naturally conflicts with C-a as the emacs-style move to beginning of line ...
1
vote
1answer
116 views

change colours when running screen

I use gnome-terminal in Centos 5. I have my terminal settings customized to use the colours I like. However when I run screen (or tmux) the colours for my terminal input lines are always inverted. ...
0
votes
1answer
184 views

tmux bind-key with two keys

In ~/.tmux.conf, with bind-key v split-window "vim" I can launch vim in a split window. how I can use two keys in a tmux bind-key ? Example: bind-key vG split-window "vim +$"
1
vote
1answer
135 views

tmux on a mac, how can I move the divider lines

On my linux system I use prefix (redefined as ctrl-a for me) than ctrl- arrow keys to move the divider line but this isn't working on my new mac. Any idea how I can move the divider lines?
0
votes
0answers
165 views

Tmux skipping environment variables

I'm trying to create a tmux configuration that would open a specific number of windows and run some programs in them. Layout-wise everything is fine, but tmux skips some environment variables like ...
1
vote
0answers
170 views

tmux autocomplete command

I use this key-bind to launch a ssh session in a split window bind-key S command-prompt -p "ssh" "splitw 'ssh %1'" how I can get autocomplete in tmux command? example ssh hos<tab> ssh host ...
1
vote
3answers
240 views

tmux - how can I map new keys for the window (pane) cycle?

In the tmux application, how can I map ctrl-a, o (window cycle) to ctrl-a, w ?
20
votes
2answers
5k views

Restore tmux session after reboot

Is there any way to save a tmux session? In other words, if I reboot the computer, will I always lose the sessions?
0
votes
1answer
401 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 ...
3
votes
1answer
320 views

ssh-agent key timeout with screen or tmux on bastion host

Normally I have ssh-agent running, I ssh to my bastion host then open a tmux session and connect to other boxes through that. Key forwarding works for any sessions that I open from that point ...
2
votes
2answers
815 views

Pair programming with tmux and Vagrant

Does anyone have a clear step-by-step guide for setting up a shared tmux session on a Vagrant vbox that my coworkers (on our local office lan) could SSH into? The articles I've found online only seem ...
0
votes
2answers
189 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 ...
0
votes
0answers
252 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
385 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.
0
votes
1answer
621 views

Error trying to get tmux 1.6 installed - E: Unable to locate package libevent

$ pwd $ /home/durrantm/Downloads/tmux-1.6 durrantm.../tmux-1.6$ ./configure && make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... ...