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
46 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 ...
0
votes
0answers
2 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 ...
3
votes
0answers
73 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 ...
0
votes
2answers
41 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
11 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 ...
3
votes
5answers
3k views

Messed up keys in vim when running inside tmux

I have been playing with tmux and I'm loving it. However, there's an annoying issue when running vim inside it. Somehow the arrow keys get remapped, but only on certain times, like when firing up ...
1
vote
0answers
22 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
431 views

With tmux on OSX, how can I make command+k clear more gracefully?

When I use the terminal in OSX, I frequently use ⌘+K to clear the screen and scrollback buffer. It's deep in muscle memory. I've started tinkering with tmux, and one gripe is that ⌘+K wipes the whole ...
7
votes
5answers
879 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 ...
1
vote
1answer
77 views

Tmux mouse mode does not works with large gnome-terminal

I'm running tmux on gnome-terminal with mouse support activated. When the width of the terminal is not too big then it works flawlessly, however, when I use it in full screen mode the mouse clicks are ...
72
votes
4answers
20k views

Restore tmux session after reboot

Is there any way to save a tmux session? In other words, if I reboot the computer, will I always lose the sessions?
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 ...
14
votes
4answers
2k views

Is there any way to prevent tmux freezing when lots of text is output to the terminal?

In a tmux session inside xterm when a programs generates lots of ouput (like a cat very_long_file the whole session in frozen for a while. Even if I press Ctrl-C nothing is interrupted. Presumably ...
0
votes
0answers
10 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
1answer
51 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 ...
2
votes
2answers
39 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 ...
36
votes
6answers
16k views

How can I make tmux use my default shell?

On a new setup, tmux is using bash instead of my default (zsh). How can I force it to use zsh?
1
vote
0answers
62 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 ...
0
votes
0answers
23 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. ...
14
votes
6answers
5k views

How can I get ssh-agent working over ssh and in tmux (on OS X)?

I have a private key set up for my github account, the passphrase to which is, I believe, stored in OS X's keychain. I certainly don't have to type it in when I open a terminal window and enter ssh ...
0
votes
0answers
11 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 ...
16
votes
3answers
3k views

How can I make ctrl+left/right keys work right in tmux?

In both zsh and bash, ctrl+arrows allows me to move the position I'm typing at by whole word, but this does not work in tmux, which is a problem as I'm currently launching it automatically every time ...
2
votes
1answer
236 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 ...
4
votes
1answer
403 views

tmux - scroll up/down with shift + page up/down into a pane

I would like to be able to scroll up/down into a given pane with the same keybinding that xterm does, i.e SHIFT + Page Up/Down. For example, if the tmux window is divided into 2 vertical panes, I ...
4
votes
2answers
2k views

Tmux key bindings not working

I installed tmux using homebrew on Mac OSX Lion a while back. Suddenly the keybindings have stopped working. For example if I try Ctrl-b then c (Create new window) it just types c in the terminal ...
0
votes
0answers
25 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, ...
1
vote
1answer
33 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
12 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
1answer
17 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
30 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
34 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
33 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
2answers
361 views

tmux bind-key with two keys

In ~/.tmux.conf, with bind-key v split-window "vim" I can launch vim in a split window. how I can use two keys in a tmux bind-key ? Example: bind-key vG split-window "vim +$"
0
votes
1answer
21 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 ...
0
votes
0answers
31 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
2answers
406 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 ...
0
votes
1answer
115 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 ...
41
votes
5answers
5k views

Unable to use pbcopy while in tmux session

Running tmux 1.4 installed from ports on snow-leopard I am unable to use the built in OSX pbcopy command. Outside of tmux: > echo "abc" | pbcopy > echo $(pbpaste) # or using ^v abc But ...
0
votes
0answers
28 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
2answers
453 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 ...
0
votes
1answer
156 views

mac os x byobu vertical split using iTerm, tmux, zsh

How to get vertical split on Mac OS X in byobu? Ctrl + F2 is not working. It open new window instead of spliting the current. In oposite spliting horizontaly with shift + F2 works ok.
1
vote
1answer
573 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 ...
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
99 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 ...
6
votes
4answers
3k views

tmux copy mode - select text block

I'm using tmux with vi keys, and copy/paste works fine as long as you're selecting one line of text, or if you have only one window. When I want to select a block of text (multiple lines, but not full ...
0
votes
1answer
25 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
8 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
2answers
284 views

Transfer current command to a detachable session (tmux/screen)

I'm currently running a backup and it now needs to be transferred to detachable one like on tmux/screen. Is there a way to do this when the command is currently running? I can send the command the ...
4
votes
1answer
99 views

Making vim use the alternate screen

This thing is driving me crazy. I have already searched the internet and SE and found a lot of related questions but none solve my problem. I'm using Zsh inside tmux. Until a couple of days ago ...
3
votes
1answer
207 views

Proper Format for Byobu's windows.tmux?

In Byobu 5.17 (using tmux 1.6), how ought I format the windows.tmux file? I've poked around a bit, but have been unable to find a proper answer. For reference, here's the screen version of what I ...