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

1
vote
3answers
16 views

Two sets of windows side-by-side in tmux

I like to have two sessions/sets of windows side-by-side, with independent windows switching, like on the screenshot - right now I do that by launching two separate Konsole instances, each with tmux ...
0
votes
0answers
8 views

tmux copy-mode with vi keys bind C-R and C-S like in emacs mode

When I've used C-b [ to enter copy mode, I really like the vi keybindings for navigation but not for searching. Is there a way to bind C-r to ? and C-s to / in vi-copy mode quickly? I've seen some ...
0
votes
0answers
5 views

How do I setup a tmux session to always use a particular scl?

I'd like to be able to setup a tmux session that more or less transparently runs everything in a particular scl environment, specifically scl enable python27 .... By transparently, I mean that when I ...
0
votes
0answers
7 views

Tmux mouse selection resets scrolling position

When I scroll in a pane, my current shell prompt is not on the screen anymore, then I select anything (for example when I am explaining to a colleague something, just to point a line), the result will ...
1
vote
0answers
10 views

OSX smooth scrolling in tmux

I'm SSH'ing into a linux box using iTerm2. On that box I run tmux 1.6. I have enabled mouse mode: set -g mode-mouse on This works fine, and I can scroll when using tail, but it's not the same ...
1
vote
1answer
24 views

tmux configuration stanzas based on Tmux version

This question is loosely related to this one. So I am using a range of Tmux versions between 1.5 and 2.2 on various operating systems (and Linux distros). My ~/.tmux.conf which had been tailored to ...
1
vote
0answers
11 views

tmux: get names of panes, each current directory and history

my tmux session is a bit broken, by which I mean that tmux ls returns an error like error connecting to /private/var/folders/d0/xbg08_x12lddw3dkht5w462c0000gn/T/tmux-501/default (No such file or ...
0
votes
2answers
23 views

Pass variable to another pane

I'm working with tmux and I'd like to pass some information from one pane to another. For example in first pane i've got the folder by pwd command and instead of copypast to another pane I want to ...
0
votes
0answers
11 views

How do I send, through hotkey, a SIGINT (CTRL+c) to a process running inside tmux?

When I open tmux and start a long running process without output, how do I kill it with a hotkey Ctrl+c? On a normal zsh shell when I press Ctrl+c the process receives a INT signal and (hopefully) ...
0
votes
0answers
14 views

tmux bind-key breaks enter key functionality

I'm new to tmux. With the following set in ~/.tmux.conf, I can switch panes by specified keys in each line without the prefix, which is as I expect. bind-key -n C-j select-pane -L bind-key -n C-m ...
0
votes
1answer
18 views

What is the right way to launch tmux in Terminal.app on OS X

I have ... if [ "$TMUX" = "" ]; then tmux; fi ... in my .zshrc which works great for ssh connections. However, I have trouble with Terminal.app. When I type exit, tmux closes, but I am left in an ...
1
vote
1answer
11 views

How to run aliases under tmux without root privilege

Under terminal multiplexer tmux I am unable to use alias as a normal user. alias l='ls -CF' alias la='ls -A' alias ll='ls -alF' alias ls='ls --color=auto' For alias of alias l I have to type ls ...
0
votes
0answers
8 views

Tmux incorrectly interpreting aixterm escape sequences

It has just occurred to me that tmux misinterprets aixterm escape sequences (in my PS1 prompt, I use the bold attribute for bolder text and aixterm sequences for brighter colors), if my TERM variable ...
1
vote
1answer
48 views

How can I make a searchable shortcuts cheat sheet?

So, just like most people it happens that my memory for shortcuts and commands is kind of bad until it gets into muscle memory, but since it is just painful to have a fancy configuration in vim + tmux ...
1
vote
0answers
35 views

Change mintty title according active tmux window (cygwin)

How can I change mintty terminal title to show title of active tmux window? For example: I would like in this case title to be active tmux window - ncmpcpp or even better if possible title ...
3
votes
1answer
48 views

tmux - uppercase “M” at the right of window name

For some reason, occasionally, an uppercase M appears at the right side of the window name, so the window name looks like this: 1:bash*M I'm pretty sure is because I'm pressing some combination that ...
0
votes
0answers
15 views

tmux new window with current_pane_path always goes to root

I have the following config bind-key -n M-c new-window -c "#{pane_current_path}" \; Now, when i invoke this command, it creates a new window but it goes to root director \. I am running tmux ...
0
votes
0answers
10 views

tmux how to send keys after the creation of a new session

Messing around with tmux, I've (more or less) understood how to use config files (either .tmux.conf or custom ones), and the usage of source-file command. So I edited .tmux.conf like this: new -s ...
0
votes
0answers
26 views

tmux / urxvt: Odd behavior when selecting text with mouse

I've just recently begun experimenting with urxvt as a terminal emulator rather than xterm. I'm a heavy tmux user, so having both work seamlessly together is a must. I've noticed that when running ...
0
votes
0answers
12 views

How to list last commands run in tmux's current session's panes?

I want to write a script with a name tmux-gen-curr-session which will produce a script that will open panes and run last commands of each panes in current session. Is there a easy way to get last ...
0
votes
0answers
9 views

Can tmux highlight (change color) on control key (send-prefix) event?

Is it possible to highlight the status line or somehow visualize that I'm in command mode. Could I create an extra binding action for c-b? Any idea?
0
votes
1answer
33 views

How can I move my current session from GNU screen to tmux?

My IRC client, irssi, is currently active inside a GNU screen session. In hindsight, I wish that I'd have used tmux instead of GNU screen. How can I migrate the active process (or session) from GNU ...
1
vote
1answer
12 views

zsh autocomplete results from function

I've been searching and searching and unable to find a clear way to do this: Slightly contrived example to hide details: Say I want to autocomplete tmux session names with a command that will open ...
0
votes
1answer
14 views

Tab glitch with tmux in archlinux

Bug difficult to explain, as it can have extremely random effects. But the idea is : when I open a new tab in my terminal using tmux (in tig, vim or cmus for exemple), the text always gets extremely ...
1
vote
0answers
62 views

xterm translations: sending multiple keys

I'd like to utilize the multimedia keys on my keyboard in my xterm/tmux. I'd like to map the XF86Launch8 to the keys C-a F1 (ctrl-a being the tmux prefix key, the press F1, which is mapped in tmux to ...
0
votes
0answers
21 views

Show pane names vertically in tmux

I have created a bunch (more than 10) named window panes that are used for integrating with my projects. The problem is that the horizontal status bar of tmux is not long enough to fill them all so I ...
0
votes
1answer
41 views

tmux scrollback buffer limited to current screen - scrolling doesn't show previous actions' output

After upgrading to El Capitan, my tmux scrollback buffer is limited to a single screen. If I scroll up, I can see output from Mac Terminal, but all tmux output is truncated. In the screenshot, you ...
3
votes
2answers
36 views

How to view logs online during heavy usage with screen, tmux or Byobu?

Normally I use tail -F, but on heavy usage it is getting irresponsible and unreadable. On ssh I also use buyobu to type password only once. But when any of screens become irresponsible then all ...
0
votes
0answers
45 views

Why are my TMUX session options (set-option blah) always being applied globally?

Terse How can I set a different status-bg color in two different TMUX sessions? Why are environment variables acting unexpectedly in .tmux.conf? Verbose Different colors for the status bar I have ...
0
votes
1answer
54 views

Ubuntu virtual terminal cursor style resetting

I am running Ubuntu 14.04 and using one of the virtual terminals (TTY[1-6], accessible via Ctrl-Alt-F[1-6]); I want to permanently change the appearance of my cursor from the apparent default, a ...
0
votes
0answers
4 views

tmux spawn new ssh session same machine as current session

If I have an active ssh session in tmux and want to run a long-running command that logs to stdout without backgrounding it. Right now I get another session by creating a new window and sshing into ...
0
votes
0answers
13 views

How does one set automatically that vi is the key bindings during copy mode in tmux?

I thought it would be as simple as putting: set-window-option mode-keys vi but its not. I get the error: /Users/my_useranme/.tmux.conf:19: can't establish current session ...
0
votes
0answers
8 views

tmux/byobu name windows based on working directory

If my CWD is /some/path/projects/foo/other/dir, I'd like the window to be named foo (as opposed to the name of the command running in that window). How would I do this?
1
vote
1answer
12 views

bind tmux prefix key to option-a

I currently have my prefix key as set-option -g prefix C-a However, I want to change it from the C or control key to the option key which sits directly to the right of the control key. It's easier ...
0
votes
0answers
12 views

Fullscreen TMUX sessions selection

I've found TMUX's choose-tree command to be quite useful when navigating between sessions, but I dislike it only displaying inside of the current pane. I'd prefer it to overtake my entire screen. ...
0
votes
0answers
8 views

Unable to scroll a tmux pane terminal UP/DOWN with mouse scroll button in tmux [duplicate]

I set mode-mouse off since I wanted to copy a word by double clicking instead of using SHIFT and left click, but now I am unable to scroll up/down a particular terminal running in a pane/window using ...
-1
votes
1answer
13 views

tmux detach session remote

I run at first terminal tmux, then I run another terminal with tmux and attach to session which I run at first terminal. First is smaller than second and I can't go to it to do something. How to ...
0
votes
1answer
26 views

Moving from screen to tmux but having trouble in copying (double click doesnt work in tmux)

While in putty double clicking a word copies it to clipboard, I am unable to copy by doubling clicking when I am using tmux in putty. I am able to do it using SHIFT key, but I want to do it without ...
0
votes
0answers
28 views

How do I automatically ssh in tmux if I open a new pane or window from an ssh pane or window?

I'm a bit of a novice to the darker and way awesomer side tmux (as in I've been using it for a while, but really want to start customizing it and tailoring it to work well for me), and so there may be ...
0
votes
1answer
14 views

change shortcut for visual mode

I would like to change my .tmux.conf file to reflect the following change: Ctrl+b "[" -> toggles visual mode to Ctrl+b "v" is it possible? how?
0
votes
1answer
19 views

tmux change copy mode key maps

Is it possible to remap the controls in the copy mode of tmux? I want to remap a few keys in the vi layout of the copy mode. Yes, I've googled the problem. A lot. I haven't found a way to remap the ...
0
votes
0answers
35 views

Stuck in insert mode in tmux

I'm doing something accidentally that makes me stuck in insert mode while in tmux. I have no idea what I'm doing or how to set it back. Outside of tmux not a problem. Pressing the insert key does not ...
0
votes
1answer
10 views

Separate visual styling for sessions in tmux

I wanted to set my status bar to be green in one session of tmux and red in another, but when I change it in one via command mode, the color status bar in the other session changes as well. Is it ...
1
vote
1answer
32 views

tmux mouse passthrough mode?

How do you make mouse-wheel scrolling in tmux work with programs such as less and man? It will work properly with emacs and vi/vim in xterm mouse mode, but less doesn't. EDIT Is there a way to have ...
1
vote
1answer
26 views

Automatically kill tmux session on session end?

I have the following snippet in my .bashrc which starts tmux whenever I'm at the command line: # Start inside tmux if [[ $(command -v tmux) ]] && [[ -z $TMUX ]] && [[ $TERM != ...
0
votes
1answer
39 views

tmux: Configure center of status line

I am using tmux on different servers, and like to show the hostname of the current host in a prominent position in the top center. On the man page, I only found options to set the right- and ...
1
vote
0answers
21 views

Multi-page output :: text select with tmux over ssh

I have a local terminal within tmux. Now I connect to a remote server via SSH and run some command piped to less. With tmux I can easily select part or the entire screen, however I can not select text ...
0
votes
0answers
31 views

Save a command output to tmux buffer

Is there a way to place output of a command to tmux buffer. I know I can switch to copy mode, select and copy. However, I would prefer a command-line method. For example, I have a command find $PWD ...
0
votes
2answers
20 views

how to fix Tab key in iTerm2+tmux on OSX

when I want to press tab, I need press tab two times in tumx on OSX, how to fix it?
-1
votes
1answer
12 views

Why is Escape key not working in tmux?

If I hit Escape to leave Alsamixer, or to enter vi-mode in zsh, nothing happens. How can I get Escape working in tmux?