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

Why commands work at top of file, but not at the end

This is .tmux.conf file & as you can see it has a shell selection command at top. But it doesn't work if I put this line at the bottom. when I open tmux, it doesn't show any error or anything, but ...
0
votes
0answers
40 views

Restore tmux sessions with relevant conent on reboot

While Restore tmux session after reboot does give us a list of possibilities, I couldn't find any readily-available script to restore a tmux session with relevant content from each pane/window at the ...
1
vote
1answer
197 views

What are the benefits using terminal multiplexer

I am using terminal, vim, mutt, etc daily. I use windows, tabs and panes. Now I came to know about Tmux, terminal-multiplexer. But I am not quite sure why I need to use it. I already using windows and ...
0
votes
1answer
161 views

Tracing an error message when starting Tmux or Vim

Recently when I start Tmux on my Mac (with Powerline) in iTerm, I get an error git: Permission denied. I also get the error over and over again as I type in Vim (also using Powerline). As you can ...
0
votes
0answers
23 views

How to set urxvt so it can ignore a certain utf-8 character as a part of a word?

I'm using debian testing distro, and I have urxvt pseudo terminal. I need the character "│" to be ignored and not treated as a part of a word. When I double click (with Lshift in tmux) on a word it ...
0
votes
1answer
527 views

Is there anything like iTerm2 + Byobu on Windows?

I'm stuck running Windows as my primary OS at work. I'm trying hard to find a good console environment, but falling short. I'd like to have iTerm2 + Byobu. So far I'm using conEmu with the cygwin ...
1
vote
0answers
156 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 ...
5
votes
1answer
154 views

Can I use the output from a ZSH custom function in Tmux's status bar?

I defined a function in ~/.zshrc: foo() { print "FOO" } I'd like to output it in my Tmux status bar. I added this to ~/.tmux.conf: set -g status-right "foo: #(foo)" But I only see the static ...
2
votes
1answer
50 views

Weird Tmux issue

When attempting to split Tmux windows by using commands, I get the opposite effect of what one should expect: The command tmux split-window -v Produces a horizontal split, while the command ...
0
votes
1answer
34 views

Tmux ignores first splitw command in .tmux.conf

set -g history-limit 50000 new -s ds -n WindowName Command neww -n foo/bar foo splitw -h splitw -h splitw -v splitw -v This is my tmux.conf file. I start it by using tmux attach. It does everything ...
3
votes
1answer
2k views

How to reload tmux config file which has defined multiple sessions?

I'm using two separated sessions in tmux, and I have the following entires in /etc/tmux.conf : set -g base-index 1 new -s logi -n cmd neww -n logi "cat /dev/logi | ccze -m ansi -p syslog -C" splitw ...
0
votes
1answer
389 views

How to resize tmux panes inside tty

I'm not sure if I used the right term, but by "tty" I understand the console that you can switch to using ctrl+alt+f2 key combination. echo $TERM points to linux. Anyway, when I enter the tmux mode I ...
0
votes
1answer
545 views

How to start a command in tmux + urxvt setup?

I'm trying to make a pretty nice desktop console which can show system logs from /dev/logi . The device displays new content from several files in /var/log . I want to use urxvt and tmux to do so. ...
3
votes
1answer
678 views

Does “ulimit -Su” limit the number of user processes created in interactive login subshells and tmux sessions created therein?

A few months ago, I wrote a set of bash scripts utilizing tmux to create a simple IDE on an AIX 7.1 server. There is a bug in one of my scripts that will sometimes generate user processes very rapidly ...
0
votes
1answer
1k views

Vim inside tmux on Mac OS X Mavericks can't copy to clipboard

Since going to Mavericks, I've lost the ability to use the clipboard in vim when run under tmux. I install vim via brew. For reference, yes, the +clipboard option is definitely set. When I run vim ...
1
vote
0answers
40 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
257 views

tmux in zsh with vi mode, toggle cursor shape between normal and insert mode

(note: I wrote this question on stackoverflow, but got flagged as offtopic, so I'm re-writing it here) Here's what I want: Consistent behavior (as much as possible) between Vim, MacVim, zsh with ...
0
votes
1answer
49 views

Running a vim ex command within tmux corrupts pane

I'm running into strange issue where running ack from within vim's ex mode corrupts my tmux pane. I'm using iTerm2. E.g. :!ack "foo bar baz" Results in something like this: where all the ...
0
votes
1answer
46 views

tmux dividers rendering improperly

So I (somehow) just started using tmux a couple days ago, and (needless to say) it's amazing. I have a nice little initialization script that pulls up all my rails/db/vim etc stuff and a lot of that ...
0
votes
1answer
188 views

Gnu Screen: “type” in all windows at once

I read this question on SO about the stuff command in screen. It's pretty useful, but I wondered if there was a way to actually interactively type into multiple windows at once? - stuff seems to be ...
0
votes
1answer
118 views

.tmux.conf not being read?

Trying to use tmux installed via Homebrew on a Mac. I have the following inside ~/.tmux.conf: set -g default-terminal "screen-256color" Before I run tmux, in the regular Terminal.app, TERM is ...
4
votes
1answer
815 views

Making TMUX use Alt+Num to select window

I have been messing with TMUX, and I am liking the configuration abilities. The window list at the bottom makes me think that the same shortcut for changing windows in Irssi, should work in TMUX, but ...
1
vote
0answers
69 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 ...
0
votes
1answer
39 views

Clearing everything but current line in tmux

I have my Control-K shortcut bound in tmux like this: bind -n C-k send-keys -R \; clear-history \; This clears the scrollback buffer's history as well as the current screen, which is what I want. ...
0
votes
0answers
946 views

Connection to dbus session failed

I am running Debian 6 with Gnome 2.30.2 (old, but it's the workstation I have to use). When I want to run dbus-monitor or any other dbus application from within tmux, I get an error: $ dbus-monitor ...
0
votes
2answers
211 views

Background process text appears in terminal vim

First time poster, long time lurker, searched, couldn’t find etc, etc. I’m running vim in tmux, in iTerm2. I’m running a server with Grunt.js, which I have running in the background, out of my way. I ...
2
votes
0answers
123 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 ...
3
votes
1answer
720 views

Tmux copy-pipe with mouse selection

I use copy-pipe on OS X to share the system clipboard with Tmux 1.8: unbind -t vi-copy Enter bind -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy" This works when entering select mode ...
1
vote
1answer
211 views

resizing a terminal within tmux doesn't seem to work

I'm new to tmux, and I'm having trouble finding a solution to resizing my actual terminal (I haven't learned quite enough about panes and windows yet). I'm running tmux1.6, and bash as my shell, on ...
1
vote
0answers
177 views

Make mouse-scrolling and -copying work in tmux under urxvt

If I add setw -g mode-mouse on to my ~/.tmux.conf I can get the following to work in xterm + tmux: Click and hold left mouse button in the terminal Scroll up with mouse wheel Position cursor at some ...
6
votes
2answers
5k views

Resizing pane is not working for tmux on mac?

After searching through, I figured ctrl+b ( PREFIX ) then ctrl + arrow should resize the current pane. But it is not working. Am I missing anything ? Thanks.
1
vote
1answer
95 views

How to bind tmux command to Alt-<x>, not M-<x>?

The problem with bind -n M-x is that it binds not only to Alt-x but also Esc-x. I want the command to execute only on Alt-x
1
vote
0answers
111 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 ...
0
votes
1answer
292 views

tmux mouse mode and scrolling very unstable - garbage printed

I am using (or trying to) tmux on Linux Mint 15 via byobu. I am finding the mouse mode very hard to use since most of the time instead of counting it as a click, the terminal prints out random ...
3
votes
2answers
214 views

tmux freezes when using ctrl-prefix ctrl-y

I'm using a custom .tmux.conf file which looks like this: unbind-key C-b set -g prefix C-a bind-key C-a send-prefix set-window-option -g mode-keys vi bind-key -t vi-copy 'v' begin-selection bind-key ...
0
votes
1answer
1k views

How to set the default path/directory to the directory where the session was started?

I'm using an old version of tmux (v1.5). How can I configure tmux to set the default directory to the directory where the session was started? This isn't a problem with newer versions of tmux (1.7 ...
2
votes
2answers
1k views

Weird behaviour/rendering on tmux in osx

I've been having this issue for some time now, and it is really annoying, but I can't figure out what's wrong. When I start a tmux session on my terminal, no matter if it is on Terminal.app or iTerm2, ...
4
votes
0answers
2k 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
1answer
2k views

Option key does not work as Meta in Tmux

I am using Mac OSX Lion. I have checked "Use Option key as Meta" in Terminal preferences. Although the Option key seems to work fine as Meta in Bash, when I use it in Tmux (over SSH) it does not work ...
0
votes
2answers
606 views

Linux: Start tmux inside fbterm on login

So here's what I want: On every tty login, fbterm starts. It gives me a better resolution than the linux console, has working UTF-8 support (I'm sure it's entirely my fault that the linux console ...
1
vote
0answers
270 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
55 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
1answer
40 views

Setting the color coditionally in tmux.conf

So I have a little ruby script that pings our CI server and returns a :-) or a :-( based on if the build is passing or failing. Now, what I'd like to do is make it red if it's a fail and green if ...
1
vote
0answers
27 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: ...
4
votes
0answers
99 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 ...
4
votes
1answer
4k views

How to delete detach tmux session?

I detached myself from a tmux session. $ tmux ls 0: 1 windows (created Thu Aug 22 22:52:17 2013) [218x59] Is there anyway I can simply delete it now that I am detached from it?
2
votes
1answer
317 views

Tmux new named session exited

I can't start a new named tmux session. Below shows what gets printed. Note the 0;95;c weird statement. > tmux new test [exited] > 0;95;c I can, however start a un-named session and rename it ...
0
votes
1answer
56 views

Why is $HOME being unset within vim within a tmux session

Up-to-date Fedora 19, when I launch tmux and at the bash prompt and type: echo $HOME my $HOME environment variable is displayed. If I then launch vim (with and without --noplugin -U none) and ...
5
votes
1answer
377 views

tmux prints “1;2c” whenever I start it or re-attach to a session in cygwin

If I run tmux from my cygwin bash shell it prints 1;2c on my prompt after tmux launches. If I attach to a session I had open earlier using tmux attach-session it does the same thing. If I had vim open ...
1
vote
2answers
909 views

Tmux set color of changed window

I let Tmux let me know when contents of non-current window changes. setw -g monitor-activity on set -g visual-activity on The only problem is, the color of it sucks. I'd like to change the color ...