aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-11-23 18:32:47 -0800
committerEugene Triguba <hello@eugenetriguba.com>2026-11-23 18:32:47 -0800
commitcd3885855692653a4ac7a48adabc60009e70a8ef (patch)
tree0c60a3a4bb3e6c14f72dd550ca9d7ca08019ac64 /README.md
parentFix format of installation config in readme file (diff)
downloadtmux-toggle-term-cd3885855692653a4ac7a48adabc60009e70a8ef.zip
Change toggle term float and split key defaults
- `@toggle-term-float-key` now defaults to `f`. - `@toggle-term-split-key` now defaults to `;`.
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 8 insertions, 7 deletions
diff --git a/README.md b/README.md
index b2fa294..a85cade 100644
--- a/README.md
+++ b/README.md
@@ -22,13 +22,13 @@ run-shell '~/.tmux/plugins/tmux-toggle-term/src/main.sh'
### Toggle Split Terminal
-`Prefix + C-;` → Toggle a split terminal for the current tmux window
+`Prefix + ;` → Toggle a split terminal for the current tmux window
![Split Pane](https://git.eugenetriguba.com/tmux-toggle-term/plain/docs/split-open.webp)
### Toggle Floating Terminal
-`Prefix + C-f` → Toggle a global floating popup terminal
+`Prefix + f` → Toggle a global floating popup terminal
![Floating Window](https://git.eugenetriguba.com/tmux-toggle-term/plain/docs/float-open.webp)
@@ -39,17 +39,18 @@ run-shell '~/.tmux/plugins/tmux-toggle-term/src/main.sh'
By default, both the floating and split terminal features are enabled. If you only want one of them, you can disable the other:
```tmux
-# Disable the floating terminal (only use split)
set -g @toggle-term-float-enabled 'false'
-
-# Disable the split terminal (only use floating)
set -g @toggle-term-split-enabled 'false'
```
### Custom Key Bindings
You can override the default keybindings by setting the
-`toggle-term-split-key` and `toggle-term-float-key` options:
+`toggle-term-split-key` and `toggle-term-float-key` options.
+
+In this example, we've set the bindings to 'Meta + t' and 'Meta + f'. Note that
+if you have the tmux prefix key enabled, you'll need to do 'Prefix + Meta + t'
+ and 'Prefix + Meta + f'.
```tmux
set -g @toggle-term-split-key 'M-t'
@@ -60,7 +61,7 @@ set -g @toggle-term-float-key 'M-f'
By default, the plugin binds its keys in the tmux prefix table, so you press the
tmux prefix before the key. If you'd rather trigger the toggles directly,
-without the prefix, disable the `toggle-term-<mode>-use-prefix` options:
+without the tmux prefix, disable the `toggle-term-<mode>-use-prefix` options:
```tmux
set -g @toggle-term-float-key 'M-f'