Questions tagged [tmux]
tmux is a terminal multiplexer: it enables a number of terminals (or windows), each running a separate program, to be created, accessed, and controlled from a single screen. tmux may be detached from a screen and continue running in the background, then later reattached.
1,353
questions
1
vote
2
answers
537
views
Does any terminal multiplexer (screen, tmux, zellij) support job suspension (Ctrl-Z) in Bash?
As far as I've seen, pressing Ctrl-Z on any terminal multiplexer, or trying to start them in the background, does nothing or crashes.
I know that, in a sense, terminal multiplexers are a "...
0
votes
0
answers
153
views
tmux continues using variables that are no longer defined in .bashrc
I am trying to reset my .bashrc, because it has become bloated and it takes long to start a console.
For this I did the following:
cp /etc/skel/.bashrc ~/.bashrc
This worked for the normal login bash ...
0
votes
1
answer
25
views
Any way to apply .tmux.conf in the cwd automatically?
I have different projects and use bunch of tmux panels to manage them.
Unfortunately it's hard to keep track which panel has which project folder.
Is there any way to apply .tmux.conf in a folder ...
0
votes
1
answer
564
views
tmux Won't Copy to Clipboard
I'm using macOS Ventura and the Terminal app that comes with it. I'm trying to copy from tmux to the system clipboard. I found this piece of code here and it won't work.
bind-key -Tcopy-mode-vi Enter ...
0
votes
0
answers
572
views
Tmux not responding to bind-key
I have this in my .tmux.conf:
bind-key -n M-1 select-window -t :1
bind-key -n M-2 select-window -t :2
bind-key -n M-h select-window -p
bind-key -n M-l select-window -n
I'm expecting alt+h to go to ...
6
votes
1
answer
1k
views
tmux: why is my pane name forcibly suffixed with a "Z" char?
See my screenshot of tmux, some pane's title always get a suffix "Z" or "-Z", regardless that I have rename them.
Is there anyone can fix this issue?
My tmux version is 3.2a.
OS ...
3
votes
2
answers
2k
views
How do I kill a hung ssh session within tmux
Here's my setup:
Workstation==ssh=>jumphost(tmux with split panes)==ssh=>server1
==ssh=>server2
If either of the two connections to the ...
1
vote
0
answers
175
views
Tmux: Scroll buffer not working on MSYS2/MINGW64 (Git for Windows SDK)
I installed the Git for Windows SDK on Windows 11 to have the pacman package installer available to install tmux.
A lot of stuff works like it used to be on other platforms, but scrolling back using ...
7
votes
1
answer
3k
views
Getting italics working correctly in tmux
I have an issue that the colors and font don't get produced correctly in tmux. The same output looks different when the command is run outside vs inside tmux.
Outside tmux:
Inside tmux:
As suggested ...
0
votes
1
answer
452
views
How to press Ctrl + b + capital I (trying to install plugins in tmux)?
Everywhere they say Press
ctrl + b + I (capital I)
to fetch the plugin.
What does that mean? Is it like ctrl + b + shift + i or ctrl + b + capslock(on) + i
(capital I)
or maybe my terminal is ...
1
vote
1
answer
777
views
How to figure out the PIDs of my tmux sessions?
Figured out the hard way that starting tmux sessions under different sockets are not listed with tmux ls, as it is only a shortcut for tmux -L default list-sessions showing sessions that belong to the ...
0
votes
1
answer
3k
views
How to start tmux in a way that it inherits all environment variables from the calling shell?
After I have set up a development shell (e.g., by starting a PostgreSQL cluster with a particular configuration, exporting several environment variables, "installed" a bunch of applications ...
1
vote
1
answer
121
views
Child and sibling processes from running tmux in zsh
I am using Ubuntu 22.04.1 on WSL 2 (though the fact that it is Unix is only relevant for this question)
How come when we run tmux from a zsh session, the process tree (which I have abridged somewhat) ...
1
vote
1
answer
511
views
use vim navigation and search commands in tmux terminal view mode
Is there a way to use vim in tmux terminal output?
For example, I want to use 500j to move 500 lines up instead of manually scrolling in vim using Ctrl+a +[
0
votes
1
answer
271
views
How to pipe output of tmux pane to vim/neovim?
I have neovim open in one pane, and I have ipython open in another pane. I have set up keymappings which allow me to send keys or to paste my buffer in my ipython pane without leaving neovim.
I'm ...