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

0
votes
0answers
5 views

how to hide the right status in tmux

How do I hide the right status in tmux? It appears in the bottom bar where windows appear, all the way right justified. I have tried set-option status-right "" and set-option status-right-length 0 in ...
0
votes
1answer
31 views

tmux configuration to rename tab name to basename of working directory

I have this setting, which is supposed to rename the current window to my current directory by pressing <prefix>. bind-key . run -b "tmux rename-window $(basename #{pane_current_path})" For ...
0
votes
0answers
9 views

tmux - how to switch through (more than two) recently visited windows?

Is there a tmux command or shortcut I can use to switch to recently visited windows? I can switch between the two latest windows with last-window, but how can I continue to switch to the previously ...
0
votes
0answers
18 views

Cannot make function key bindings (F1-F12) to work in byobu with tmux backend

I use Ubuntu 14.04 and have the latest version of byobu installed via apt-get. It has always worked flawlessly but started showing some weird behaviour just recently with no obvious reason. I use it ...
0
votes
0answers
10 views

How to make tmux kill session as normal on terminal exit

So normally when you have an X terminal and you exit the window, the terminal dies and HUP is sent to all processes that have that terminal as controlling terminal, their usual response is to exit ...
0
votes
1answer
17 views

How to keep terminal window title in sync with tmux window

I am using a program called "Timing" to track my time. Timing uses the name of the current window in iTerm for categorization purposes. I'd like to set the current title of iTerm to match the name of ...
0
votes
0answers
4 views

How to get Current scrollback position in tmux copy mode

Is there any existing way to get the current position in the scrollback buffer when I have scrolled back up in copy mode? e.g.: I entered copy mode, scrolled back up quite a way up. and now the copy ...
1
vote
0answers
22 views

tmux always starts with `/bin/bash` instead of `/usr/local/bin/bash`

No matter what I do, tmux will always use /bin/bash as its login shell. I have set $SHELL to /usr/local/bin/bash which should work according to the man page of tmux. And $SHELL is definitely exported,...
0
votes
1answer
11 views

tmux how to force kill-session

I use tmux on mac os x 10.11.5 but suddenly it stopped working correctly. When i type tmux it does keep attaching to my grouped tmux session "ruby" instead of creating a new one. $ tmux ls ruby: 2 ...
0
votes
1answer
13 views

how to bind `<prefix>+,` to F5?

I want that F5 be an alias to <prefix>+, which is the rename window action in tmux. I tried: bind -n F5 rename-window but tmux is angry when it reads the conf file. how to achieve what I ...
1
vote
0answers
15 views

Ctrl-b does not work

With Bash now being available on Windows I tried using tmux, but Ctrl + b + [other key]` does not work for me or any of the other key combinations. As far as I can tell Windows is not overriding the ...
1
vote
0answers
30 views

Create tmux session in seperate shells

I'd like to use tmux sessions to manage windows / panes in different shells. What I've noticed is that tmux will always use the shell from which it was first launched for all subsequent sessions ...
0
votes
2answers
42 views

tmux does not trigger when placed in rc.local

I want to start a tmux on boot on a raspberry pi - 2. I have written a session.sh file and I have places it in ~/bin/ file which is in the home directory. This ~/bin/ is also included in the $PATH and ...
1
vote
0answers
14 views

Bash&TMUX - Continue after error

I want to write a bash script which opens new window in certain tmux session, runs another script in it and then closes. The problem is, if I launch two instances of the script, I want the script to ...
0
votes
0answers
48 views

Tmux 2.2 won't let me scroll while in copy mode (with mouse)

In Tmux 2.0, I could scroll up into my history buffer, then start selecting text (using left mouse button) and scroll with my mouse wheel to select several pages of text. While not always efficient (e....
1
vote
0answers
20 views

Remapping Ctrl + I with keysym in rxvt

I'm trying to remap Ctrl + I to be captured as something else than tab, so I can use it as a shortcut in tmux. However I cannot get to work. As a test case I tried to get Ctrl + I to output Ctrl + W ...
0
votes
1answer
91 views

Scrolling on Mac with Tmux and iTerm

I'm using iTerm 2.1.4 and Tmux on OS X Yosemite. I'd like to be able to scroll my iTerm windows up and down but I'm not sure what controls scrolling. Does tmux control scrolling when I use it with ...
0
votes
0answers
14 views

selecting word in tmux copy mode

I have this in my .tmux.conf (on Debian testing): set-option -g status-keys vi set-window-option -g mode-keys vi bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-selection ...
0
votes
1answer
39 views

Scripting with tmux?

Can I script several bash/sh instructions to open and run in separate tmux panes? I have about 5 or so different commands that need to be executed simultaneously or consecutively. I usually type ...
0
votes
0answers
14 views

Tmux window crashes

I have a tmux window on my server. Its been up for almost 20 days and I have 6 shells up on tmux window. All of sudden it crashed and tmux ls don't show the tmux window anymore and I am not able to ...
0
votes
0answers
21 views

Tmux on Mac: How to bind “option” key?

I am adding this to my ~/.tmux.conf file and running tmux source ~/.tmux.conf but it's not working set -g history-limit 100000 bind-key -n M-n next-window <--------------------- does not work ...
0
votes
0answers
12 views

tmux - change status-bg when in an ssh session window

Is it possible to have a different status-bg color when in an ssh session? Say I have the default green one, but would like it to turn red when in a ssh session. Should work when switching windows ...
0
votes
0answers
10 views

neovim not schemecolor on tmux multiplexor

I dont know why I dont have schemecolor when I use tmux on my neovim, here something of data of my console: gnome-terminal tmux 1.9 neovim this look so: I try a lot of this possible solutions but ...
0
votes
1answer
28 views

Tmux keybinding to swap pane left or right

I'm aware that :swap-pane -U and :swap-pane -D will swap panes up or down, but I'd like a keybinding to swap panes left and right. The only way I can think of to do this would be to first determine ...
3
votes
0answers
23 views

tmux text cut off by split line using iTerm2

I am using zsh, iTerm2, and tmux. When I split the window into multiple panes the line covers up a little bit of the text. Here's a picture of what it looks like: It works fine using terminal, so I ...
0
votes
0answers
17 views

How do I { maximize | zoom } the current pane in an iTerm2-integrated tmux session?

How do you zoom the current pane if you're using tmux through the iterm integration? Iterm has its own zoom pane key sequence (by default, shift+cmd+enter), but it only seems to work on native panes, ...
0
votes
0answers
11 views

How can I display a tmux pane only when the output changes?

I'd like to display the output of a static-analyzer only when there is output to display (most of the time, it simply outputs “No errors!”). When there is something to say, it spits out a ton of noise:...
2
votes
1answer
27 views

Tmux - Detach client fails if using bash startup script

Typically, I use a bash script to create my tmux session (split panes, set PWD, call commands, etc.). This works great, except if I try to run tmux detach-client. It will fail to detach, instead just ...
1
vote
1answer
38 views

tmux mouse mode is being disabled somehow during a session

Sometimes while I'm working, I notice that tmux is no longer responding properly to mouse controls (usually as I try to scroll back a pane using the mouse wheel and get iTerm2's own scrolling ...
1
vote
3answers
58 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
29 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
9 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 ...
1
vote
0answers
22 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
32 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 ...
3
votes
3answers
173 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
42 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
30 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
27 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
24 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
36 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
25 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
10 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
55 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
60 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 ...
4
votes
1answer
259 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
23 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 1.8....
0
votes
0answers
23 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
35 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
18 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 ...
1
vote
0answers
15 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?