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

3
votes
0answers
97 views

Display unicode in tmux?

This is urxvt without tmux This is urxvt with tmux and utf8 not enabled in the config This is urxvt with tmux and utf8 enabled in the config How can I make tmux act consistent with the ...
3
votes
0answers
76 views

Tmux copy mode: stay in copy mode after selection

When using tmux, I often find a need to copy multiple items from one pane or window into another. When those items are located close to each other in a long scrollback buffer, my current workflow ...
3
votes
0answers
1k views

tmux: enable mouse scrolling in vim instead of history buffer

I have just started using tmux 1.8 recently, after working with screen for a while. After reading things here and there on the internet, I came up with following ~/.tmux.conf However when I open vim ...
3
votes
0answers
72 views

iTerm 2 running tmux session causes “startup disk almost full” randomly

Anytime I run a tmux session, disk space will randomly begin filling up and the computer will slow down, then everything goes back to normal. This happens periodically. I am using iTerm 2. Does ...
3
votes
0answers
86 views

tmux link-window to remote window

In a server, there's a persistent tmux session, with several windows running 24/7. At my local computer, I run several tmux sessions, one at a time, depending on the type of work. I wonder if it's ...
2
votes
0answers
66 views

tmux visual indication if panes are synchronized

Is it possible for tmux to have some visual indicator if synchronized-panes is enabled for the window? Perhaps the status bar changes to blue, or just a star appears somewhere? I often set ...
2
votes
0answers
102 views

How can I tell what command is running on the remote end of an ssh connection?

Tl;dr - how do I find the name of the command (eg $BASH_COMMAND) running on the remote end of an ssh connection? ... My example setup is two tmux vertical panes, LH pane runs a local vim session ...
2
votes
0answers
1k views

Function key shortcuts in PuTTY/MinTTY and Tmux/Byobu

As a long-time lurker on Stack Exchange, I've found answers to most of my problems without needing to so much as make an account. But today I'm completely stumped with this issue, so I'm reaching out ...
2
votes
0answers
262 views

tmux bind key and running shell isn't working

I'm on the Mac and I'm trying to do this in my .tmux.conf: bind -t vi-copy 'y' copy-selection ; run-shell 'tmux show-buffer | curl -d @- localhost:5482' I want copy and paste to work, but I did it ...
2
votes
0answers
202 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 ...
1
vote
0answers
6 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 ...
1
vote
0answers
11 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
0answers
28 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 ...
1
vote
0answers
102 views

Problems with tmux, mutt, and terminal colors

If I start mutt in a tmux session like this: $ tmux new-session -s mutt mutt Mutt complains: Error in /home/lars/.mutt/colors, line 20: 230: color not supported by term Error in ...
1
vote
0answers
41 views

tmux limit activity-monitor window size

As part of my work I typically need to connect to multiple different servers via SSH. I like to run a local tmux session to manage various terminals and then from within the SSH session to the remote ...
1
vote
0answers
64 views

Case insensitive search in tmux's copy mode?

So in tmux's copy mode you can search text with the ? (at least if it's in vi mode). However, it only finds matches with the same case. I also want matches that have a different case. So, when I ...
1
vote
0answers
78 views

Is there a way to set margins/paddings in tmux?

I'm just wondering if something can be done with the effect presented below: As you can see, I divided the window into 3 panes. When it comes to copying, everything is fine except double click on a ...
1
vote
0answers
34 views

Tmux - dynamically split vertically and horizontally based on # of commands?

I'm curious to know if there's a way that tmux can dynamically split and adjust windows based on the number of commands you provide. Currently, this is the way I'm having to do something tmux ...
1
vote
0answers
51 views

Update prompt on window change in tmux

Windows in tmux can easily become out of sync. For example, in both windows I might have: ~/dir git:(master *) $ The * indicates changes. Then I run git commit in one window, or change to another ...
1
vote
0answers
91 views

Tmux and Vi in PuTTY = No arrow keys in Vi

I'm using PuTTY as my terminal with tmux. At first I couldn't resize panes so based on this thread I added the below to my .tmux.conf" set -g terminal-overrides ...
1
vote
0answers
184 views

Resume term after ssh disconnect without multiplexer (screen/tmux)

Screen and tmux (like emacs) are fancy feature rich terminal multiplexers designed to let you efficiently manage terminals as if it was 1985 but they just complicate the simple task of resuming an ssh ...
1
vote
0answers
50 views

Tmux window name changes when creating a new pane

I have several problems with windows names and panes. First if I have a window named "myWin" and I create a new pane, the name is changed into "bash" whereas I want it to remain "myWin". Second, if ...
1
vote
0answers
22 views

Tmux splitting a parent window with existing panes

Let's say I have a window with two panes (size irrelevant, 'A' = active) +-----+-----+ | | A | | | | | | | | | | +-----+-----+ If I were to split-window I would get: ...
1
vote
0answers
196 views

How to see images in tmux

I browse w3m with an images plugin. On normal terminals and even (typically minimally-featureful) virtual terminals I can see images. But when I browse with w3m in tmux the images don't show up. If ...
1
vote
0answers
87 views

Getting bash history-complete-backwards/fowards and vi-mode to work with tmux

I'm using bash on Ubuntu 12.04 my inputrc contains: "\e[A": history-search-backward "\e[B": history-search-forward set show-all-if-ambiguous on set completion-ignore-case on"" for my history ...
1
vote
0answers
38 views

Selectively “pass” commands onto the shell/program if certain programs are running

Is there a way for tmux to "pass" its control commands (C-A x) to the program running in the pane if a certain program is indeed running?
1
vote
0answers
327 views

Home and End keys doesn't work in vim inside tmux

I can't use home and end keys in vim, when in Tmux. I've got this strange stuff: H F H sample text my .tmux.conf: set-option -g mode-mouse on set-option -g mouse-select-pane on set-option -g ...
1
vote
0answers
83 views

Set tmux title to path

I'm currently setting tmux to update the window title to the name of the currently running command by doing the following: set-option -g set-titles on set-option -g set-titles-string '#S:#I.#P #W' # ...
1
vote
0answers
201 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 ...
1
vote
0answers
290 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
0answers
726 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.
1
vote
0answers
114 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
0answers
258 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 ...
0
votes
0answers
10 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. ...
0
votes
0answers
2 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
0answers
12 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?
0
votes
0answers
31 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
14 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 ...
0
votes
0answers
55 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
14 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?
0
votes
0answers
36 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
30 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
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
42 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 ...
0
votes
0answers
42 views

Unable to run tmux on OS X

So I got brew on my mac and I had tmux installed and running just fine. Then after I refreshed my system every time I try to run tmux i get this error: "-bash: tmux: command not found" So since I'm ...
0
votes
0answers
46 views

Using <ctrl+arrow> with zsh within (byobu-)tmux within gnome-terminal

I already added the following lines in my profile.tmux configuration file: TERM=xterm-256color set -g terminal-overrides "xterm*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@" unbind C-Left ...
0
votes
0answers
17 views

What do the entries in tmux layouts mean

I have just started to use tmuxp which seems like a great program. Unfortunately it still has some bugs, so the last freeze that I made saved a wrong yaml file. So I'm now trying to reconstruct the ...
0
votes
0answers
19 views

tmux completion (not shell completion)

Is there any way to do completion of arbitrary text from your tmux session (e.g. output from previous commands)? Something similar to hippie-expand in emacs or Any word completion in vim? Note that ...
0
votes
0answers
23 views

Why can't tmux bind my KeyRemap4MacBook mapping

I'm attempting to map some fancy keypresses to tmux commands using KeyRemap4MacBook and tmux bind. I have a KeyRemap4MacBook mapping that looks like: <item> <name>Test</name> ...
0
votes
0answers
7 views

Tmux send-keys from zoomed pane

Whenever I try to use send-keys from a zoommed in pane (tmux resize-pane -Z) it does not work: I get no error, but the keys aren't send as well. How can I send keys from a zoomed pane to another?