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
1answer
6 views

How do I terminate windows directly from window choice mode in tmux?

I want to go into window choice mode (prefix-w) and then be able to kill windows without choosing them (hitting the Enter key). Is this possible without configuration changes? Is it possible at all? ...
0
votes
0answers
8 views

Disable mouse reporting in a terminal session after tmux exits unexpectedly

I currently use iTerm2 and frequently SSH into remote servers and start a tmux session. On all of those servers, when SSH'ing into them, I automatically create a tmux config that enables mouse ...
1
vote
0answers
9 views

share local and remote tmux sessions

There seem to be many related questions but I'd like to see a specific workaround. So, I used to be an avid iTerm2 user (irrelevant) and I started using tmux remotely because I want to avoid SSH ...
0
votes
1answer
12 views

How can I close a Tmux session and stay connected to Tmux?

I typically run Tmux with multiple sessions, usually one per project with multiple windows within. When I want to throw away a session, I type exit. This closes the session, but also detaches from ...
0
votes
1answer
24 views

After each command tmux prints: ps1_update: command not found

On Linux Ubuntu 11.04, after each command (cd, ls, vim...) successful or not, tmux prints out as a last line ps1_update: command not found. Is there any config option I am missing? Thank you very ...
0
votes
1answer
37 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
29 views

In tmux, after ssh a server, how to send R code in vim to R consol

I installed tmux and vim-r-plugin in local machine (ref: http://manuals.bioinformatics.ucr.edu/home/programming-in-r/vim-r), and use ssh to log in a server (only vim-r-plugin and screen installed). ...
0
votes
0answers
11 views

How to specify a log folder for tmux?

By default, tmux log messages are stored in the current directory, is it possible to set up tmux so that all these files are saved in one place?
0
votes
1answer
22 views

Using cURL to retreive public IP for tmux config creates too many connections

I am currently using the command: curl icanhazip.com and the option set -g status-left ... in my tmux.conf to retrieve and display my public IP in status bar. This works great, although I am really ...
0
votes
2answers
11 views

How to add horizontal pane above vertical panes in tmux?

I remember doing this before, but it was pretty tricky and I can't quite remember the combination of commands to get it to work. How can I turn my window with two vertical panes: ...
0
votes
0answers
13 views

Reload user group assignments inside tmux (or byobu/screen)

This question handles reloading group assignments without logging out, but it doesn't really treat a situation where you want the group assignments to be reset inside an existing tmux (or byobu or GNU ...
1
vote
1answer
39 views

Tmux somehow forgets prefix after certain key-bind

I did not change default prefix i.e. C-b. I added the following key binding in my tmux.conf bind -n C-M-w send-keys M-w\; \ run-shell "tmux save-buffer - | xclip -i -selection clipboard" ...
0
votes
2answers
46 views

In tmux, can I get `exit` to exit the containing terminal window and not the session itself?

So when I open a new terminal (I use terminator on Arch Linux), I have it configured to either open a new tmux session if one doesn't exist, or attach to an existing one. When I type exit at the ...
0
votes
1answer
19 views

Tmux: Restore automatic window title after rename-window

By default, tmux will show the title of the focused pane in the status bar. After using rename-window to set a title manually, how do you restore the default behavior? First idea was to set a blank ...
0
votes
1answer
18 views

Ignore TMUX prefix?

I have my tmux prefix key bound to ` via set -g prefix ` I have been using this for a while and like it. The problem is, on rare occasions I actually need the ` accent. If I am in vim this is not ...
0
votes
1answer
17 views

How to fg a process suspended before starting tmux inside the new tmux session?

How to 1. suspend a process with ^Z, 2. start tmux and 3. fg (or bg) the suspended process? $ find / [.....] ^Z [1]+ Stopped sleep 10 $ tmux $ fg -bash: fg: current: no such job ...
1
vote
0answers
7 views

Scroll with mouse in tmux without mouse highlighting controlled by tmux

From this question, Scroll shell output with mouse in tmux the setting setw -g mode-mouse on allows mouse scroll in tmux. This also causes mouse highlighting by click and drag to be controlled by ...
0
votes
1answer
27 views

How to port my current bash history over when opening a tmux session?

I often find myself in this situation: I start doing something in a terminal. I need more terminal space, so I open tmux. History is gone, even the commands I wanted to run inside tmux. How can I ...
0
votes
1answer
44 views

watching output of “ps aux | grep blah” in tmux will not work?

I am trying to run this - watch "ps aux | grep myShittyProcess" in a tmux session. This process myShittyProcess was also started in a tmux session. The ps aux works without watch command. But as ...
0
votes
1answer
13 views

How to config tmux so that new windows reuse working directory of last window?

When I open new window or new pane in a tmux session, the directory is always where I started the session. More often than not, I'm expecting the new windows or new panes to be in the working ...
0
votes
0answers
11 views

suppressing spurious invisible tmux/terminal output

I'm using tmux to run multiple terminals sessions. The issue I am having is that my top-level terminal program has a feature where it will notify me if there is any activity in a non-visible tab. ...
1
vote
1answer
24 views

Why do I see the unicode character è when I type Alt-h in my xterm on centos?

I am sshing into a centos box from an ubuntu box. I keep seeing è when I type Alt-h (aka M-h). I want to use this key combo in tmux bindings but it doesn't work because tmux doesn't recognize utf8 ...
1
vote
0answers
24 views

tmux: Page Up/Down in Cygwin

Unfortunately it seems like the normal C-b > PgUp or C-b > ctrl+arrows aren't working; instead, I'm just seeing the characters 5~ be printed whenever I C-b and then try to use PgUp. Even mouse mode ...
1
vote
1answer
19 views

tmux: close session while open

I am using tmux to manage multiple terminal windows. Currently I have 2 windows open with multiple panes. How can I close the session from inside of tmux. I know that I have to use the prefix (for me ...
0
votes
0answers
3 views

Multiline comment in tmux.conf

I am presently trying out different configuration for tmux, and using tmux.conf for the setup. I will like to be able to comment out a section of the file without going line by line to add '#' . How ...
0
votes
2answers
51 views

SSH'd (via Cygwin) vim to write to local file

Okay, so I'm trying to solve the problem of getting the contents of a yanked register from a SSH'd session in Vim, to go to the Windows clipboard. Here's the scenario: SSH into development ...
1
vote
1answer
22 views

Switching tmux zoom between panes without zooming out

After zooming in to a tmux pane, I'd like to zoom in on another pane (preferably the next) without zooming out first. How can I do it?
1
vote
0answers
37 views

tmux shows weirdly encoded history on OSX

If I do the "history" command in tmux, I get a really weird result. Anyone got a hint on what to do to get normal output? The output looks like this: 477 ◆┬▒⎺▒└☃◆ 478 c▒├ ◆┬▒⎺▒└☃◆ 479 ...
0
votes
1answer
126 views

How to use Console2 with tmux

I am able to start tmux using the mintty terminal included with cygwin. However, when using Console2 (running on 64-bit windows 7 and using C:\cygwin64\bin\bash.exe as the shell), I get the following ...
0
votes
0answers
40 views

Seamless vim and tmux panes between ssh client and host

This article describes assigning the same key binding to transitions between and within vim and tmux panes, allowing "seamless" transitions. ...
0
votes
0answers
18 views

tmux middle mouse paste

I have the following tmux options set and the selection works fine and I can paste using <bind key> p. But it doesn't seem to paste when hitting the middle mouse. It just does nothing. The ...
2
votes
2answers
60 views

How do I create CTRL key bindings in vim when using tmux?

I use Vim inside tmux, and have recently added the following to my .vimrc file: " easy navigation nnoremap <C-Left> :tabprevious nnoremap <C-Right> :tabnext But this seems to have no ...
0
votes
0answers
90 views

tmux and nano in busybox

When I connect to my busybox'ed synology NAS with ssh, I can run "nano" with just nano Some_File-sh from the cli. But if I start tmux, I need to use the absolute path /usr/bin/nano/Some_File.sh, ...
0
votes
0answers
21 views

Scrolling with shift-control-pageup in gnome-terminal

Is it possible to configure tmux (inside gnome-terminal) so that the key combinations Shift-Ctrl-Page Up and Shift-Ctrl-Page Down can be used to scroll up and down in the terminal's history?
7
votes
5answers
1k views

Cygwin tmux: “failed to connect to server: No error”

Just as the title says, whenever I try to start tmux in Cygwin 64-bit (Win7), with any or no arguments besides --help, I get the following error: $ tmux failed to connect to server: No error I ...
0
votes
1answer
28 views

tmux: Find “my” window, check if it's active

I want to find some way to have a program find the following information: 1) What window am I running in? 2) Is that window the active window? The idea is, in a program like WeeChat, I'll switch to ...
0
votes
1answer
54 views

Tmux ignores window-status-style

I have the following in my tmux.conf file: set -g window-status-style fg=colour234,bg=colour252 set -g window-status-activity-style fg=red,bg=yellow set -g window-status-current-style ...
1
vote
1answer
50 views

Difference between global, server, session and window options

The tmux manual discusses various types of options, for example global options, server options and so on. The question Where's the defaul tmux configuration file? also refers to some of these ...
0
votes
1answer
52 views

How can I copy from Tmux terminal and paste it other application in my OS?

I am using tmux on ubuntu. I read this https://awhan.wordpress.com/2010/06/20/copy-paste-in-tmux/ for copy and paste inside tmux. But I would like to know how can I copy from TMUX terminal and paste ...
0
votes
1answer
25 views

How can I start a totally independentt new instance of tmux?

If I have already a tmux session opened, results that I can't start a new one with another tmux configuration, for ie: $ tmux # loads new session using ~/.tmux.conf In another terminal... $ tmux ...
1
vote
1answer
95 views

How to quickly switch to n.10+ windows in tmux

Tmux by default comes with the following keybinding to quickly switch between windows numbered 0 to 9: C-b + 0-9 With a couple of dozen different project folders, a few ssh sessions and other ...
0
votes
0answers
51 views

Slow screen redrawing in terminal emulator

I use a modified PuTTY (PuTTY Tray, derived from PuTTYcyg) to connect to my Cygwin's login shell (zsh), on Windows 7 (64-bit). This works, but the screen refreshing is very slow. For example, when I ...
0
votes
0answers
33 views

Tmux status sed output different from cli

I've been looking at this for a while now, but I cannot find a reason. When I run the following in a cli, it works as expected: $ uptime | sed "s/.*average: \(.*\), \(.*\), \(.*\)$/\1 \2 \3/g" 0.65 ...
0
votes
1answer
38 views

Tmux printing ^P

My terminal has recently started printing control characters (e.g. ^P or ^N) when I press Ctrl+P (or other combinations). I'm not sure what caused the change. Here is my .tmux.conf file. Any ideas? ...
0
votes
1answer
32 views

Kill tmux when ssh is started

I have a server with tmux and a client with tmux. If I connect to my server I have running 2 tmux sessions, one from the client and one from the server. Is there a way to detach the clients sessions ...
0
votes
0answers
9 views

Tmux does not recognise commands

When I hold CTRL and B followed by a command, such as ? nothing happens. Sometimes my MAC picks up the command and for example changes screens. What is the correct way to use Tmux installed on ubuntu ...
0
votes
0answers
48 views

How do I increase the copy buffer size in tmux?

Question: How do I increase the copy-buffer size in tmux? Data: When I run the following command... $ for i in {1..1000}; do echo "$i"; done ... and highlight the entire output in tmux (using ...
1
vote
1answer
135 views

open Safari and Finder failed in tmux

OS X 10.9.2, tmux 1.9a install via brew. In tmux: $ open /System/Library/CoreServices/Finder.app ...
0
votes
1answer
146 views

Vim colors do not appear correctly in tmux terminal running within rxvt-unicode terminal

I am using Debian (Jessie). My ~/.vimrc file contains the following statement. colorscheme murphy My ~/.Xresources file contains the following properties. URxvt.background: #000000 ...
0
votes
1answer
45 views

What does ps axuwfw return?

I am getting strange output including my old makefile output and process tree when running below command on linux ps axuwfw Also, what is the usefulness of the following command and how does it ...