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

How do I select entire words with Tmux's mouse mode?

The default tmux mouse mode seems to select words by character -- this is a little too granular for me; if I click [or double-click] in the middle of a word, I'd like it to start selecting the entire ...
0
votes
0answers
11 views

tmux window last line to statusbar

I am running an update-script within tmux, and just to see that the progress is ticking on I would like to see the output from the last line within tmux statusbar. My idea is to use something that ...
1
vote
1answer
17 views

ZSH Quote escaping and expansion

I am trying to run tmux, passing several commands at once, and I'm unable to properly quote the string. The command succeeds when manually entered on the command line: ~% /usr/local/bin/tmux ...
0
votes
0answers
18 views

Status display after boot on Debian

I run some VM's and some of them are dedicated to several jobs. For example lets say that one machine is running samba and ftp services and another is running Apache and some database. Now what I ...
-1
votes
0answers
20 views

What does it mean to 'kill' a window in tmux

I've been using Linux and Emacs for a while, but I am brand new to tmux. I see that in the default key bindings, ctrl-b & can be used to "kill" the current window, but I do not know if this ...
1
vote
1answer
26 views

Check if Vim has more than one window open

I'd like to overload my tmux binding which cycles through panes to also cycle through Vim windows if the current pane happens to be running Vim. I can detect the presence of Vim by checking the pane ...
1
vote
2answers
22 views

If I have left and right tmux panes, how can I visually tell which is focused?

I've tinkered with tmux and have seen settings that would highlight the border of the active pane. This works fine for three or more panes. However, my most common usage would be two panes side by ...
1
vote
1answer
26 views

Can't run 'rails' inside Tmux session in Terminal

I just tried rails inside a tmux session in iTerm2 and it returns as -bash: /usr/bin/rails: /usr/bin/ruby: bad interpreter: No such file or directory I can run rails outside of tmux . I am using ...
0
votes
1answer
79 views

OS X + tmux + vim + solarize + colors

I want to use tmux with console vim having solarized colors on OS X, but the colors are broken inside tmux. There are quite some questions/answers and blog posts about that topic, but solutions ...
0
votes
1answer
37 views

How to execute a cleanup command on tmux server/session exit?

To improve my workflow a little I have written a few wrapper scripts to automatically start some commands when I want to work on a project. When I'm done however, and clean all the tmux tabs for this ...
1
vote
1answer
23 views

Tmux key-table explanation

I was reading through the tmux man pages in order to understand the different options for bind-key and bumped into the -t flag: If -t is present, key is bound in key-table: the binding for command ...
0
votes
1answer
33 views

ncmpcpp: playlist + library layout

I'm trying to replicate this ncmpcpp configuration found on ArchLinux BBS. It features a double-paned playlist window: on the left it shows a classic playlist, on the right there is a file browser ...
0
votes
0answers
18 views

How to stop tmux from automatically switching windows

I have several windows in tmux, and it keeps switching windows without me requesting it. I haven't pinned down what triggers it -- it coincides with output in the target window, but when I run sleep ...
0
votes
1answer
33 views

How do I shove a pane to the left in tmux?

Suppose I have three panes stacked up horizontally and I would like to push one of them to the far left, such the other two panes are still stacked but on the right. Current Setup: Pane 1 ---------- ...
0
votes
0answers
16 views

key repeat when scrolling in tmux

When using tmux, I would like to keep the PgUp/Down key pressed to scroll quickly between pages. I press Ctrl-b PgUp to enter copy mode and to scroll the page, but if I keep it pressed, nothing ...
0
votes
0answers
43 views

Vim only takes up half the screen in tmux

When I run vim in tmux, it only takes up half the screen (usually the left half). I would like vim to use up the whole screen, but don't know how. Tmux still seems to consider the entire screen as ...
1
vote
1answer
21 views

TMUX: Configure length of titles

I have tmux configured to show my current working directory for each window (it gets this from bash) The problem is, sometimes the directory names get too long and it takes up a lot of space. In ...
1
vote
2answers
70 views

tmux session not resuming to the same from different entry points?

I don't know if this is supposed to work by default, but it seems like when I try to resume a tmux session I have from one machine or a different one. I am using two different kinds of connection to ...
-1
votes
1answer
36 views

How to access multiple gmail accounts from the terminal

Is there a way to access several email accounts (gmail or yahoo) from the command line, I am using tmux I want to be able to view received and send emails without accessing chrome or any other ...
1
vote
1answer
34 views

On tmux, what is the difference between “bind” and “bind-key”?

On .tmux.conf, what is the difference between "bind" and "bind-key"?
1
vote
1answer
33 views

changing .tmux.conf binding for prefix

Trying to transition to tmux (version 1.6) on OS X 10.7 (so I'm sure I am making a noob mistake) and having problems with the simplest of commands. In my ~/.tmux.conf I have to map the prefix to ...
2
votes
1answer
47 views

why won't tmux resize terminal window to honor vi lines setting?

Say I open a terminal $ echo $LINES 25 $ vi :set lines? 25 :set lines=50 :!echo $LINES 50 -as I'd expect (and the terminal window resizes and everything works). But if I start tmux from a fresh ...
0
votes
1answer
48 views

Correct use of Tmux and Irssi via SSH

I'm pretty new with Tmux. I'm looking for a way to connect a Tmux session locally to a distant one, running on my server with irssi and other stuff. If i start a regular session with tmux And ...
3
votes
1answer
119 views

How to tab completion when typing command in tmux?

Some commands (kill-session and kill-server) have the same prefix. When I type (prefix:kill-seTab), tmux won't give me any result. Is there a option to show wildmenu for auto-completion inside tmux? ...
0
votes
0answers
25 views

Use forward slash as a key command in tmux

In tmux, is it possible to bind forward slash to a command? The command I want to create is below: bind-key -nr C-M-/ kill-window \; next-window This config errors with: /home/joe/.tmux.conf:42: ...
0
votes
0answers
9 views

per-session CPU and/or I/O priorities with tmux

In gnu-screen I can start a session with a specific CPU priority by running: sudo /usr/bin/nice -n 19 -- "screen -dmS compiles" The screen session, its windows, and any executed commands all ...
0
votes
0answers
29 views

Tmux: Run a command every time switching window/pane

I currently use powerline to update contents of my tmux status bar. Powerline reads few environment variables to determine the info for its segments, which get displayed on the tmux status bar. I ...
2
votes
1answer
38 views

optionally run several commands when starting tmux

I have a ~/.tmux/dev file which looks like this: selectp -t 0 # select the first pane splitw -h -p 50 # split it into two halves selectp -t 1 # select the new, second (1) pane splitw -v -p 50 ...
0
votes
1answer
65 views

tmux key binding: Window not found

My problem is I can't make tmux key bindings to switch windows. I'm running tmux terminal multiplexer on the FreeBSD server. tmux is started automatically for all remote logins using ~/.bash_profile: ...
0
votes
1answer
61 views

Tmux pane selection with mouse

I have the following problem while using tmux under Ubuntu. I enabled mouse-mode to switch between panes by clicking the mouse, but the switching is not always successful, and random characters appear ...
2
votes
2answers
43 views

tmux — naming windows and selecting them via fuzzy matching

I want to be able to name my tmux windows and select them using fuzzy matching (similar to LustyJuggler or Ctrl-P in vim). Is this possible with tmux?
2
votes
1answer
24 views

How to bind tmux key #?

I am unable to bind the # key to a tmux command. I have tried bind \# command-prompt -p "create vert pane from (put window-number[.pane-number]): " "join-pane -sv ':%%'" bind # command-prompt -p ...
0
votes
1answer
58 views

automatically split windows at tmux startup

I have a question similar to this guy http://stackoverflow.com/questions/5609192/how-to-set-up-tmux-so-that-it-starts-up-with-specified-windows-opened but more specific. I want to do this in a single ...
2
votes
1answer
59 views

Can I set a default title for a tmux window?

Right now the title defaults to reattach-to-user-namespace (OS X), which is pretty annoying. Is there an option I can put into my tmux.conf to get another default title? If not, how would I make a ...
1
vote
1answer
103 views

Get Ctrl+Arrow to work under tmux+urxvt

I have tmux command key as C-a. C-Left/C-Right to jump between words (or whatever it is called) works just fine in urxvt alone, but under urxvt/tmux it'll print '5D' and '5C' for Left/Right ...
2
votes
0answers
57 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 ...
1
vote
2answers
66 views

Where's the defaul tmux configuration file?

I'm looking for the default .tmux.conf or something like it. I'm trying to get rid of some noise in the status line that the default creates.
1
vote
0answers
32 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?
0
votes
0answers
123 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 ...
0
votes
0answers
17 views

How to make tmux “choose-window” indices match displayed indices?

In tmux, when I invoke choose-window to switch windows, I am presented with this: The indices on the left, which are used to select the window (i.e. I have to hit 0 to select the first window) do ...
1
vote
2answers
139 views

vim backgroundcolor in tmux - how to force zsh to use screen instead of xterm in tmux

I am having the same problem like the questioner in 256 color support for vim background in tmux. In my normal terminal with zsh, I have no background color issues in vim, but when I run it inside ...
2
votes
2answers
33 views

Is it possible to freely intersperse vim panes from the same session and other shell panes in tmux?

I would like to have arbitrary arrangements of vim and other terminal panes within tmux. This is a simple example: ------------------------------------ | | | | | ...
0
votes
1answer
30 views

Tmux swap window with window to the left

I know I can swap windows using swap-window -d *source* -t *dest*, but I'd like to be able to swap the current window with the window to the left/right (effectively, 'move' a window left and right ...
0
votes
1answer
28 views

tmux: Running 'new-window “vim somefile”' gives me strange colors

I use tmux with solarized colors (256), and it works fine, except when I hit the key I have binded to: new-window "vim somefile". It opens the new window with strange colors, probably like if I had ...
1
vote
2answers
136 views

Default byobu vs tmux

What are the main features of default byobu behavior/config for tmux user? I am thinking what to deploy by default to production servers. tmux wins over screen, because it is immediately visible when ...
1
vote
1answer
100 views

vim freezes inside tmux

I'm using split panes in tmux - one being vim, other shell. Sometimes, around once a day, vim freezes. I can move between panes, perform any tmux commands, just vim doesn't react to anything. This ...
2
votes
0answers
65 views

Is it possible to change the background color of the tmux pane or window?

I would like different panes to appear in different background colors in my tmux session. Is this possible?
1
vote
1answer
42 views

Issues reconfiguring send-prefix for tmux

My goal is to use C-k as my tmux prefix on my local machine, but when I'm on a tmux session that itself contains an ssh session into a machine that is hosting a tmux session, I'd like to press C-kj ...
1
vote
0answers
48 views

Scroll in tmux but don't enter copy mode?

I'm using iTerm2 and tmux (from homebrew) on a Mac. I have set -g mode-mouse on in my tmux.conf. When I scroll up I am automatically put into copy mode but I am looking for a way to be able to scroll ...
1
vote
1answer
127 views

How to use Fn keys in tmux?

I have a bind in vim for F5 key to trim whitespaces and I'm unable to use it in tmux. Instead of that letter "T" appears. Is there's any solution for that? Actually it was working in putty, now I've ...

1 2 3 4 5 6