Skip to main content

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.

0 votes
0 answers
22 views

tmux won't unbind Ctrl+b - (Delete the most recent paste buffer) [duplicate]

It seems like I can't unbind/rebind keys. In this scenario, I'm trying to change the split-window keys, but tmux doesn't seem to honor my config file. For example, I'll try to 'split-window -v' via ...
wabbajack001's user avatar
0 votes
0 answers
37 views

How to pad the tmux messages by one space to the left?

I am talking about that messages what you get when there is only one window and You try to switch the the next window by pressing C-b n: It prints as |No next window | | but I want it as | No next ...
Vladyslav Rehan's user avatar
0 votes
1 answer
117 views

tmux: always show session's windows list on left

I would like tmux to always show a list of the session's windows on the left. When I click once on a window in the list, it should switch to that window on the right side (no preview - switch straight ...
chrispsn's user avatar
  • 101
0 votes
1 answer
38 views

Find the tmux pane that has a certain directory in the directory stack

Sometimes I will lose track of what pane relates to a certain project that I'm working on. This happens most often when I cd out of a project directory and then let the keyboard get cold for an ...
chb's user avatar
  • 659
0 votes
1 answer
278 views

remap tmux keys to navigate panes as in vim

I navigate panes in vim by hitting Ctrl+w release + an arrow key (left|right|down|up) . I'd like to change my tmux config so the pane navigation is the same as in vim so I don't have to context switch....
milosgajdos's user avatar
-1 votes
1 answer
81 views

Mouse events not working in Vim on Debian?

If I click on a line, I can see "19m" or "18m" etc. show up in the bottom right of the screen. If I scroll, nothing happens, but shift+click&drag works. set encoding=utf8 ...
John P's user avatar
  • 65
0 votes
0 answers
53 views

tmux not starting a python script from cron

I am having issues with cron (Debian bullseye - Raspberry Pi 4) not starting a tmux session from a bash script I gave it to run on @reboot. Here is the problematic fragment of my bash script: ...
Kuba0040's user avatar
2 votes
2 answers
618 views

validity of imposing tmux on users

If you look at STIG reference V-230349 you will see the full text, which I am about to summarize. The initial statement, or rule title, is RHEL 8 must ensure session control is automatically started ...
ron's user avatar
  • 7,264
0 votes
1 answer
59 views

how to source tmux session_id into tmux

I have this: export session_uuid="$(uuidgen)" remove_session() { tmux kill-session -t "$session_uuid" } export -f remove_session trap remove_session TERM INT SIGINT SIGTERM ...
Alexander Mills's user avatar
0 votes
0 answers
70 views

Tmux set-hook session-attached doesn't work with choose-tree mode

I've sat a hook in .tmux.conf. The assumption was it should reconnect last SSH session after tmux session was attached. The problem is it works only when attaching session using tmux a -t session_name....
XorOrNor's user avatar
  • 101
1 vote
0 answers
347 views

Copy all text in a tmux pane?

How can I copy all the text in a tmux pane? Pressing Ctrl + b and ] I can select a portion of text, but it is cumbersome to scroll all the way to the top in a long pane. Is there an easier way to ...
a06e's user avatar
  • 1,747
0 votes
1 answer
65 views

Get current directory of last tmux pane

I'm looking for a tmux command to obtain the current directory (#{pane_current_path}) of the last focused pane, that doesn't require switching to it and switching back. The following works: tmux last-...
kwyntes's user avatar
  • 103
1 vote
1 answer
225 views

tmux new-window command plus argument including spaces - bash var

I'm trying to execute a command on a new tmux window. A simple console/terminal pdf reader. The script needs argument, a PDF file, the file name may include spaces. I've tried this: #!/bin/bash tmux ...
Krackout's user avatar
  • 2,742
0 votes
1 answer
117 views

TMUX pane not fitting to terminal size

I am trying to use tmux on Kali linux and I maximize my terminal size. When I start tmux with the following command the pane does not fit to the terminal size: tmux new -s session As seen in the ...
JC_D's user avatar
  • 1
0 votes
1 answer
485 views

How to prevent user input and create a read-only mode in tmux window?

I would like to create a read-only mode for a specific window within a tmux session. I want to prevent any user input or interactions in that window, effectively making it read-only. Changing the ...
kyrlon's user avatar
  • 115

15 30 50 per page
1 2
3
4 5
91