Skip to main content

New answers tagged

0 votes

Is it possible to style tmux on a per-session basis?

I have wanted to do this for a long time and found all the proposed solutions convoluted and confusing, but I finally figured out a way I'm happy with to do this. The main thing that confused me for a ...
polm23's user avatar
  • 171
0 votes

How to execute a command by default starting tmux?

You can use tmux hooks for this, like so. set-hook -g session-created 'send-keys "cd /blah/blah" Enter'
polm23's user avatar
  • 171
0 votes

Vim Mode copy-paste not working on Tmux

You can follow below steps. After some research they worked on my system. I am using GNOME terminal. Install xclip: sudo apt install xclip Add this to your ~/.tmux.conf: set -g mode-keys vi #for ...
Shital Nyaupane's user avatar
0 votes

tmux exits immediately after starting

In my case it was problem with ~/.bashrc, which caused bash to crash. tmux or screen simply froze for few seconds an terminated without any errors or messages other than "[exited]" But when ...
jhnlmn's user avatar
  • 101
3 votes

Accidentally detached all tmux sessions but the processes are still running

You cannot communicate with the tmux server because you have removed the socket where the server was listening. I assume the socket was in the default location. If you somehow have managed to start a ...
Kamil Maciorowski's user avatar
1 vote
Accepted

Bind C-h in tmux copy mode

This tmux command: unbind-key -T copy-mode-vi C-h will remove whatever is bound to C-h in copy-mode-vi. In your case the binding to remove is the default one: bind-key -T copy-mode-vi C-h send-keys -...
Kamil Maciorowski's user avatar

Top 50 recent answers are included