Skip to main content

All Questions

0 votes
0 answers
517 views

How to enable <Ctrl+Backspace> with Tmux, Neovim and Alacritty to delete the previous word?

I use the alacritty terminal, and neovim editor with tmux. At first Ctrl+Backspace (for deleting a previous) wasn't working at all in the terminal. So added the following line to alacritty.yml: ...
an4s911's user avatar
  • 131
1 vote
1 answer
191 views

Is there a way to customize the keys in tmux's "choose mode"?

From tmux's manual - Choose mode, which allows an item to be chosen from a list. This may be a client, a session or window or pane, or a buffer. This mode is entered ...
Jethro Cao's user avatar
0 votes
1 answer
167 views

can I configure tmux with a single key shortcut for ":kill-session"?

I'm using tmux in an application (I have a script that automatically loads scripts in each split) and I'm wondering if there's a way to configure a single shortcut like ctrl-q (I realize that ctrl-c ...
MisdeBug's user avatar
1 vote
2 answers
1k views

tmux binding a key to bash command refuses to work

I want to be able to respawn all panes in my current window that are NOT in tree-mode. I made this script and it works: for i in $(tmux list-panes -F "#{line} #{pane_id} #{pane_mode} #{...
Dave's user avatar
  • 621
2 votes
1 answer
3k views

tmux up arrow not working properly

System: ubuntu 20.04 Linux 5.13.0-39-generic tmux 3.0a Problem: While using tmux, any directly attached ssh session from my host I establish, I can no longer use the up arrow, it is not recgonized ...
Dave's user avatar
  • 621
0 votes
2 answers
2k views

Send signal to process in tmux pane

Suppose that app X is running in the foreground in tmux pane. I'd like to send a given signal, e.g. SIGUSR1, to app X. Can I configure a tmux keybinding to send a signal to the currently-selected pane'...
Jasha's user avatar
  • 223
2 votes
0 answers
129 views

Remap Tmux prefix to control + control

Is it possible to use the same key twice in tmux for the prefix character? I. e. Ctrl+Ctrl+%?
Anon's user avatar
  • 21
0 votes
1 answer
449 views

Change Tmux default shortcut to switch between sessions

The current shortcut is Prefix ) and Prefix ( to switch between sessions. I want to change it to Ctrl PageUp/PageDown, but I don't know what command should be executed when I pressed these keys. I ...
mortymacs's user avatar
  • 131
3 votes
1 answer
5k views

tmux copy and paste not working

I am using tmux on a Raspberry Pi Zero W running Raspberry Pi OS. Every part of tmux seems to work with the exception of copy and paste. I can enter copy mode using Ctrl-b [, but I cannot get anything ...
Quillbert Q.'s user avatar
1 vote
1 answer
1k views

How to find the escape sequence for `Shift + PageUp`/`Shift + PageDown`?

How can I find the escape sequence for Shift + PageUp/Shift + PageDown? I googled and tried a few suggestions, but what always happens is that the screen scrolls up/down when I press this, or nothing ...
simonzack's user avatar
  • 733
1 vote
1 answer
1k views

How can I make tmux use "C-b C-b C-b" to get into the 3rd nested tmux session?

In tmux I get into the 2nd nested session by using C-b C-b (Ctrl+b twice). But if I have a 3rd nested session, I can't use C-b C-b C-b to get to the 3rd nested session. Somehow if I spam C-b, ...
A nerd 2093271's user avatar
4 votes
1 answer
2k views

How can I use `send-keys` or some other Tmux command to run a key-binding programmatically?

I want to use send-keys or some other Tmux command to execute the following key-binding (M-l) using prefix: C-a and send-prefix: C-a bind M-l send-keys -R \; clear-history \; send-keys C-l \; display &...
Shuzheng's user avatar
  • 4,601
2 votes
1 answer
447 views

ctrl scroll to zoom terminal emulator using tmux

I am using the following tmux keybindings to zoom using the mouse wheels. # Ctrl Scroll to Zoom bind-key -T root C-WheelUpPane { run-shell "xdotool key Ctrl+plus" } bind-key -T root ...
Ahmad Ismail's user avatar
  • 2,738
1 vote
1 answer
581 views

tmux - output all keybindings to a file

I have checked Write all tmux scrollback to a file and came up with the following command to view scrollback buffer is vscode. bind-key -T root C-E run-shell "tmux capture-pane -pS -50000 > /...
Ahmad Ismail's user avatar
  • 2,738
3 votes
1 answer
1k views

Tmux behaves differently and C-a + C-a prints "^A" instead of jumping to beginning of line

I have the following entries in my ~/.tmux.conf # remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix which usually have been sufficient to use tmux with ...
baxbear's user avatar
  • 191

15 30 50 per page
1
2 3 4 5