Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tmux]

tmux is terminal multiplexer software, allowing users to work with terminals using multiple windows and panes, which can be created, removed, attached, and reattached as needed.

0
votes
1answer
16 views

How to escape quotes & (semi)colons in tmux bind-key?

I'd like to do something like this bind-key -T root ' <some-command> bind-key -T root " <some-command> bind-key -T root : <some-command> bind-key -T root ; <some-command> # ...
1
vote
0answers
6 views

Emacs client broken when used as editor by other tool

I've had an issue for a while, and I cannot figure out how to fix it. Here is what happens: When I use a tool that reads out the $EDITOR variable to let me edit something (e.g. kubectl edit something)...
2
votes
1answer
12 views

Difference between tmux suspend and tmux detach

DEFAULT KEY BINDINGS C-z Suspend the tmux client. d Detach the current client. In both cases, I leave tmux, the sessions are still available, and I can re-...
-1
votes
1answer
21 views

Installed tmux 2.9 and now SSH script it throwing an error. protocol version mismatch (client 7, server 8)

I now get this error with tmux 2.9 where with tmux 2.7 it had no issues. [15:02:59] nod @ server01: ~ $> ssh-multi2_1.sh server10 server11 usage: new-window [-adkP] [-c start-directory] [-F ...
1
vote
1answer
40 views

Tmux: Binding a key to multiple commands and saving output in environment variable to (un)hide a pane

I have been researching how to hide and unhide panes in tmux. I want to bind a key to quickly do this. With break-pane I can hide a pane, and the output of the command is the name of the pane (:window....
0
votes
0answers
7 views

MobaX Term Portable and TMUX

i've been playing around with TMUX on my MobaX Term Portable edition (I SSH into a work server). Suprisingly, I didn't have to install TMUX at all, it just launches when i type in tmux on the command ...
0
votes
1answer
12 views

Modify default tmux pane layouts

tmux has some automatic pane layouts: http://asianhospital.com/?id=a/456799 Is there a way I can modify these layouts? I really like layout number 4, which has a left pane with an 80 pixel width. But I'd ...
1
vote
1answer
21 views

how can I center the view horizontally in vim while still wrapping at 100 characters?

here is what it would ideally look like: before after I tried DistractFree but even ignoring the errors I get, it doesn't center and adds '|' columns etc. I tried this gist too but it results in a ...
0
votes
0answers
23 views

tmux can't create new window no such file or directory

i work after a sudden amount of time when I try to open a new window it gives me this error. I run windows cygwin mintty. It fixes when I restart windows.
0
votes
0answers
18 views

Why does `setw mouse off` work in tmux?

The "mouse" option is a session option, not a window option. So I'm confused as to why I can run setw mouse off which is a set-option-window command and have it turn off mouse operation for all ...
0
votes
0answers
25 views

Different between `set -g` and `setw -g` and `set`?

I'm reading over the tmux manual and as best I can tell, if set is given with no flags, it's a "session option" by default, which I assume to mean that it only applies to that one session. If the -g ...
0
votes
1answer
16 views

Is there a way to rename the last tmux window created?

I'm writing a script to leverage Tmux to run some commands; however, rather than having to constantly run tmux list-windows, get a count number, and assume the last window number, I'm wondering if ...
0
votes
1answer
73 views

Why do tmux and oh-my-zsh both break color output from git log under WSL?

I recently decided to try out WSL (Ubuntu 18.04), and I installed zsh+oh-my-zsh, as I usually do. Pretty quickly I discovered that color output from git log is broken: Git log output, uncolorized ...
0
votes
1answer
57 views

How does tmux spawn multiple sessions?

I noticed something peculiar while working with multiple tmux sessions. I'm not certain on all the terminology so please correct me if I get something wrong. Creating tmux sessions beyond the first ...
1
vote
0answers
45 views

Disable image viewing on w3m?

I'm using w3m in Sakura Terminal. I use tmux so only a small part of the screen should be allocated to the web browser - however, images appear all over the entire terminal window and sometimes ...

15 30 50 per page