blob: b17bb884d96bfc7474860a9a1c37c79134fd2aa9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# tmux-toggle-term
A terminal toggle for tmux that supports a per-window split pane and a global floating popup.
## Installation
Using [TPM](https://github.com/tmux-plugins/tpm):
```tmux
set -g @plugin 'git.sr.ht/~eugenetriguba/tmux-toggle-term'
```
Reload tmux and press prefix + I to install.
## Usage
### Toggle Split Terminal
`C-;` → Toggle a split terminal for the current tmux window

### Toggle Floating Terminal
`C-f` → Toggle a global floating popup terminal

### Customization
If needed, you can override the default keybindings by setting the
`toggle_term_split_key` and `toggle_term_float_key` options.
```tmux
set -g @toggle_term_split_key 'M-t'
set -g @toggle_term_float_key 'M-f'
```
|