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
5 views

Copying from Emacs to other tmux pane (code execution for Ipython, sql, bash, etc)?

My preferred setup is running a terminal window with several tmux panes (a couple of shells, and an emacs session). What is the easiest way to send code from the emacs pane to be executed in the shell ...
0
votes
0answers
19 views

after SSHing into another machine and starting vim, run terminal command in original terminal

I use ssh to remotely login to a machine where I subsequently work primarily from Vim. Sometimes I want to run some shell command on my original machine without leaving Vim. What is a non-disruptive ...
-1
votes
0answers
8 views

Tmux 1.9a - variable #{pane_current_command} doesn't work as expected

I'm trying to get vim-tmux-navigator to work on my my Cygwin (Win7 x64) + Tmux 1.9a but it doesn't. The reason is the variable #{pane_current_command} always returns bash instead of vim, so the ...
0
votes
1answer
26 views

tmux / screen ctrl+arrow (left right) doesn't work on SSH

I've configured tmux to skip words on Ctrl+right / left : set-window-option -g xterm-keys on It works just fine, but as I do SSH, it doesn't work and prints ;5D or ;5C.. The same issue occurred ...
0
votes
1answer
7 views

How to update DBUS_SESSION_BUS_ADDRESS in tmux when that address changes?

I have noticed, that I can’t run steam in a tmux pane: it gave me error Error: Unable to open a connection to X. Check your DISPLAY environment variable and make sure that you have enabled X. If ...
0
votes
0answers
11 views

Mouse click only works once with iterm2/tmux/mosh

I'm trying to set up iTerm2 + mosh + tmux to do my remote work. I can get everything to connect up, but for some reason, the mouse response is funky. If I split my tmux window so I have two panes and ...
0
votes
0answers
10 views

Is it possible to always use systems clipboard when selecting/copying in tmux

I know you can use shift when in tmux to copy to the systems clipboard when selecting. Is it possible to make that the default option, i.e. the way most terminals work by default? Thanks.
0
votes
1answer
14 views

How do I resize the ‘usable area’ of a tmux session?

I'm using a ‘session group’, to keep multiple OS-level, window-managed terminal windows open to different tmux ‘windows’ (so they share a default working-directory, tmux settings, etceteras.) Those ...
0
votes
1answer
22 views

tmux: Detect which process runs in the active pane

Is there a way how to detect what process runs in the active pane? tmux: Find "my" window, check if it's active is related, however, it deals with the detection from within the pane. I ...
1
vote
1answer
14 views

How does one swap two panes in Tmux?

I have two panes in horizontal split. I'd like to have the pane currently on the right to be on the left in the window. I'm not talking about moving the focus (Ctrl+B o). How do I achieve this? 'left ...
0
votes
0answers
23 views

Attach a tmux session to a remote machine

I am using tmux on my local machine and usually have several sessions simultaneously. What I usually do is I have a session with different windows to work locally and the other sessions in which I ...
0
votes
0answers
6 views

TMUX window names disappear after one command

I'm running TMUX on OSX Yosemite. I can name the windows without any issues, but when ever I make a new command (anything, even just enter) it switches back to the "directory" as the window name. Why ...
0
votes
1answer
28 views

Pipe directly to a Tmux pane

I've been looking at the available Tmux commands and I can see, out of the box, that I can pipe output from a pane elsewhere or write to the terminal assigned to the session. I would like to have ...
0
votes
2answers
29 views

In tmux how do I exit the command prompt without typing an invalid command?

I can't figure out how to get out of the command prompt state I sometimes end up in when I hit cntrl+b :. I do this sometimes by accident when I'm about switch panes and then want to go into the vim ...
0
votes
1answer
35 views

Scrolling up and down in tmux session on OSX iTerm 2 and Macbook Pro

I have a Macbook Pro without dedicated PgUp and PgDown keys. What would be proper way to configure iTerm 2 and tmux so that I can scroll back tmux buffer with Fn+Up and Fn+Down (I think these usually ...
1
vote
1answer
13 views

How to automate text selection in tmux?

I'd like to automate the following task in tmux: enter copy mode move the cursor up X lines select Y lines above the cursor yank those lines Is this feasible? How? I was able to enter copy mode ...
0
votes
0answers
14 views

Tmux copy the selection to /dev/clipboard wiithout key-mapping

Many answers related to this topic suggest to map Ctrl+y to a command that pipes tmux show-buffer to xclip. In the specific case of cygwin, the correct way to interract with the Windows clipboard is ...
1
vote
1answer
48 views

tmux in putty: use ctrl-arrow to switch window

I found several questions about this, but I didn't find a working answer. I'm using putty (0.63) to login to my ubuntu 14.04 vps. In tmux I would like to use ctrl-left and ctrl-right to switch tmux ...
1
vote
1answer
33 views

How can I increase the font size for tmux status line?

Is there a way to increase the font size in the tmux status line independent of the size in the panes?
1
vote
1answer
25 views

Byobu type keybindings for tmux

I have been using Byobu for some time now and really enjoying it. But now thinking of moving back to tmux. The reason is given in the later half of the question. First of all, the question: The ...
0
votes
1answer
18 views

tmux or weechat not updating screen

I'm running weechat(1.0.1) in a tmux(1.6) session on my Raspberry Pi (Raspbian[Linux 3.12.28+ armv6l GNU/Linux]). One of these two breaks screen updates. When running weechat by itself it works fine ...
0
votes
0answers
15 views

tmux search is sensitive to line wrap. Can I disable this?

When I size my terminal window so a long line is wrapped like: ----------- | hel| |lo | |> | ----------- and search backwards for "hello" in copy mode nothing is found. When I ...
0
votes
0answers
32 views

tmux printing u'0x001b' and “]112” randomly

So I've lived with this problem for several weeks now, hoping that if I just let it happen enough, I would figure out the underlying trigger. No luck. tmux in bash in gnome-terminal in XMonad on ...
0
votes
2answers
73 views

Tmux - Execute command in session on startup

What I want to do is really simple, but I can't seem to find a straightforward answer. I found this question and this question, but they're not quite what I need - I'm not running multiple sessions ...
1
vote
2answers
49 views

Adjusting screen split pane sizes in tmux

I'd like to resize the panes so I can expand / compress the pane sizes (up / down / left / right etc) .. Any way to get this done?
0
votes
1answer
26 views

Easily move between tmux windows and OSX spaces

I have bound Control+H and Control+L to switch to the previous and next tmux windows. In OSX, I have a similar key combination ⌘+⌥+Left/Right to move between spaces. I want to set it up so that I can ...
0
votes
0answers
30 views

tmux and xf86 keys (the 'Fn' key, xf86WakeUp)

I'm interested in hijacking the Fn key on my laptop and using it as the mod key for tmux, but after a bunch of tinkering with xmodmap and tmux.config, I'm not much further along in getting this to ...
0
votes
1answer
26 views

Tmux waits after switching panes

I have been using tmux for a while now, but this issue only seemed to really appear after switching machines. When switching panes directionally using prefix + arrow keys, tmux waits for a little ...
1
vote
0answers
74 views

Can't scroll back after cat with mosh, tmux and iterm2 setup

My setup is the following: https://filippo.io/my-remote-shell-session-setup When I do apt-get update on my server I can see all the output and am also able to scroll back as I expect. When I do cat ...
0
votes
0answers
41 views

tmux' “run-shell” blocks for background processes

I'm using tmux version 1.9a and I noticed that run-shell blocks using of any prefix-key commands until the command terminates. To reproduce this just execute run-shell "sleep 10" and try to ...
0
votes
1answer
102 views

tmux on Windows (msys2) and non-admin fails

Whe trying to run tmux as a non-admin I'm greeted with failed to connect to server: Permission denied It works fine when running msys-bash-mintty as administrator though. Where should I start ...
3
votes
1answer
78 views

How to set Vim inside Tmux as default system editor? (Linux)

At all times I have Tmux running, with Vim inside it. I want text files to be by default opened in that Vim instance, and not a new one. I presume I need to somehow change the default text editor as ...
1
vote
1answer
24 views

tmux multiple instances of the same session

I've recently converted from gnu-screen to tmux. I am struggling with 1 thing. My workflow is something like this. I create a session for each "task" I am doing at any point in time. That way I can ...
1
vote
1answer
71 views

Tmux + mutt not redrawing

I've recently switched to mutt, but have been using tmux for a year or so now. Mutt seems to have occasional issues redrawing, for example if I delete a bunch of email using d and then persist the ...
2
votes
1answer
45 views

Attach to the same tmux session from different nodes of a cluster

I'm working on a computing cluster which has several hundreds of nodes. A load-balancing scheme picks an idle node to login to when ssh-ing into the cluster. As a result, it is very unlikely to ...
0
votes
0answers
29 views

tmux key-binding doesn't work over ssh

I am using iterm2 on a Mac, the tmux key binding works well if I start tmux locally. In particular, the Alt + arrow to switch panes. bind -n M-Left select-pane -L bind -n M-Right select-pane -R bind ...
0
votes
0answers
32 views

increase tmux buffer size for an existing pane

I started a job two hours ago that will run for ~16 hours, in a tmux pane. But I am realizing that I have only a 100k lines buffer history and that the output will be bigger than this. Thanks to ...
0
votes
1answer
19 views

OS X terminal eating the shift key

I'm switching from iTerm 2 to the stock OS X 10.8.5 terminal (work policy, iTerm isn't on the approved software list). In my tmux configuration, I've mapped shift-left and shift-right to change ...
1
vote
1answer
186 views

GNU Screen/tmux equivalent for Windows for remote text console (not GUI) connections

Short question: is there any terminal multiplexer that runs in a Windows CMD shell? I suppose PowerShell could be enough too. Complete question: I have a Windows 7 SP1 on a powerful computer ...
0
votes
1answer
138 views

Bind keys over SSH to switch tmux tabs

I typically have 4 or 5 tmux "tabs" (aka tmux windows) open. They are created by pressing Control+B, C In many applications you can Control+Tab to switch between tabs (or internal windows, or ...
0
votes
0answers
11 views

screen+emacs conflict on ESC key

I have a problem in running emacs -nw inside a screen session. In this setup, pressing ESC followed by any key behaves like pressing CTRL+KEY together. For example, pressing ESC followed by k will ...
0
votes
0answers
122 views

tmux split panes not rendering properly in Conemu

I'm trying to use tmux over ssh (cygwin) in conemu, and keep running into the following issue. I'll start with a vertically split screen that seems to be fine: And switch to the right split, hit ...
6
votes
2answers
389 views

Unable to launch application in tmux

I get this error when I try to launch Sublime Text or SourceTree from tmux: $ subl Unable to launch Sublime Text 2 $ stree Unable to open SourceTree It seems that I can't open os x apps either: $ ...
0
votes
1answer
70 views

Cannot copy from Vim under Tmux into clipboard using "+p on Ubuntu

I'm using zsh, tmux, and Vim and for some reasons recently, I've noticed I cannot copy from Vim to X clipboard under tmux using "+y. Any idea how I can troubleshoot this issue? It used to work before. ...
5
votes
1answer
461 views

Tmux doesn't respond to scroll in OS X Yosemite Terminal

Recently, I updated to OS X Yosemite and was delighted to find out Apple has added mouse support to their Terminal app. This works great in a standard Terminal window scrolling through my history and ...
9
votes
2answers
1k views

LSOpenURLsWithRole() failes with error -10810 on Yosemite from within tmux

Trying to open an application from the commandline (terminal.app), inside tmux (installed through macports, version 1.9a), and getting the following result: $ open /Applications/Adobe\ Reader.app/ ...
0
votes
1answer
46 views

Tmux: no pane 'zoom' indication after customising status bar

My customised .tmux.conf file looks like this: tmux.conf When I zoom inside a pane in Tmux, I have no 'Z' indication beside the pane title in the status bar. I assume it's because I customised my ...
1
vote
0answers
56 views

undefined reference to __b64_ntop: tmux compilation error on centOS

I've got tmux at http://tmux.sourceforge.net/. And I've read README carefully, installed all dependencies( libevent, ncurses-dev...). But when I ran "make" command, it showed an error like the ...
1
vote
1answer
31 views

Run a script or program when a monitor triggers in tmux?

In tmux, instead of (or in addition to) simply changing the status line when an activity/content/silence monitor triggers, is there a way to run a script or program?
1
vote
2answers
109 views

Create custom command in tmux

I know how to bind a key to a command in tmux, but I want to create a custom command (that you can type with prefix key + colon). In this custom command, I want to execute a couple of other commands. ...