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.

tmux is intended to be a simple, modern, BSD-licensed alternative to programs such as GNU screen.

When tmux is started it creates a new session with a single window and displays it on screen. A status line at the bottom of the screen shows information on the current session and is used to enter interactive commands.

A session is a single collection of pseudo terminals under the management of tmux. Each session has one or more windows linked to it. A window occupies the entire screen and may be split into rectangular panes, each of which is a separate pseudo terminal


Resources


Related tags

1849 questions
0
votes
1 answer

What is the variable of iterm2 tab title?

I'm using tmux iterm2 integration, and I want to display the "tab title" on iterm2 status bar. My idea is to use the interpolated string corresponding to this "tab title" in the status bar configuration, but I cannot find such a variable in iterms2…
Helen
  • 63
  • 1
  • 7
0
votes
1 answer

Tmux link-pane with format variables

I am trying to link a window from another session by specifying target session using format variable. In that way I hope to get it always linked next to the current active window. The hard coded version of the working command: :link-window -a -s…
l00p
  • 392
  • 2
  • 17
0
votes
0 answers

How does zsh completion for tmux sessions work?

When I type tmux a -t and Tab, zsh shows a list of tmux sessions available for me. How does it work? If I have a user-defined command xxx, how can I make zsh completion work? Do I have to obey certain standards?
youkaichao
  • 1,938
  • 1
  • 14
  • 26
0
votes
2 answers

What is tmux layout string format?

What's the tmux layout string format in which I can define my custom layout? When I run tmux list-windows in a tmux session it gives me something like:0: bash* (2 panes) [186x52] [layout 294a,186x52,0,0{93x52,0,0,185,92x52,94,0,186}] @113…
Masked Man
  • 2,176
  • 2
  • 22
  • 41
0
votes
0 answers

Running a Git hook for emptying dir with each commit

I use tmux Resurrect to keep my sessions. It works by each time that I save my sessions, they are saved into a txt file with a date stamp, and a symlink called resurrect-backup/last is pointed to the newly created file. I've set tmux Resurrect to…
Max
  • 488
  • 8
  • 19
0
votes
1 answer

What's the best way to send a command to every detached tmux session?

I'm trying to get each session to source .tmux.conf. Is there a built-in way?
geoyws
  • 3,326
  • 3
  • 35
  • 47
0
votes
1 answer

asciimatics - how to export to a GIF?

I'm new to asciimatics and would like to export animations I'm making to a GIF, at the command line. Note that I want to ONLY record the animation itself, not me starting some command in the terminal to record the gif as well. I've looked at the…
Brad Parks
  • 66,836
  • 64
  • 257
  • 336
0
votes
1 answer

zscroll text in the tmux status bar

I am trying to configure my .tmux.conf to display a scrolling string of text. For what it is worth, the scrolling text is an aviation weather observation that is scraped using a really ugly bash script that is defined in .zshrc as follows: function…
0
votes
1 answer

How to get Vim-like scrolling in iTerm2 with tmux (history and screen scrolling)

I use tmux, iTerm2 and zsh and I want to be able to scroll through the recent zsh history with Vim-like keybindings, something like ^+j or Alt+j. Additionally, I would like to scroll the screen with a keybinding, maybe similar to Vim's ^+u ^+d. I…
simba
  • 1
  • 1
0
votes
1 answer

Any way to adjust tmux panes to inequal percentages?

When I only have 2 panes, adjusting their height or width (depending on a vertical or horizontal split) is simple but what I'm specifically looking for is when you have 4 panes, is it possible to make one not share its height (or width) with its…
A. Thorne
  • 3
  • 3
0
votes
0 answers

Vim background changes when using tmux

I installed dracula colorscheme in neovim and configured tmux to use 24-bit color. Outside of tmux everything works well, but when i enter vim inside of tmux, background changes. Note: nothing changes except background. Same issue appears in all…
Stepan
  • 1
0
votes
1 answer

Shell variable is not being seen/used in Tmux configuration

I'm trying to use a shell variable in Tmux to configure some settings for the venerable powerline. The line of interest in my .tmux.config is: run-shell "powerline-daemon -q" source-file $POWERLINE_ROOT/powerline/bindings/tmux/powerline.conf I get…
jlconlin
  • 14,206
  • 22
  • 72
  • 105
0
votes
0 answers

How to remove space above/beside tmux window?

I am using tmux in bash on my MacBook Pro. Inside tmux, there is some spacing above/beside the tmux statusbar and shell that I'd like to get rid of. I zoomed in a bit further for better visibility: As you can see, there are 2px spacing top of the…
pfincent
  • 452
  • 2
  • 7
  • 21
0
votes
0 answers

Tmux theme in docker container

I have used noobs term with my own dotfiles for a long time and have recently started learning docker. I've modified the original shell script (removing all sudo) and pointing the dotfiles repo to my own. I'm using ubuntu as my base image with…
alexzaizar09
  • 490
  • 1
  • 4
  • 18
0
votes
1 answer

How to shuffle the order of panes in a tmux window?

I would like to shuffle the order of panes in a tmux window. I didn't find any instructions about it in the tmux help or cheatsheet, except for swapping specific panes. Is there a way to shuffle the order of panes?
Yuval Atzmon
  • 5,645
  • 3
  • 41
  • 74
1 2 3
99
100