From 78c397c3f7a9eea0f764c66270f47613f8e015d3 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 23 Nov 2026 18:32:47 -0800 Subject: Refactor bats tests --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b2fa294..65070d2 100644 --- a/README.md +++ b/README.md @@ -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--use-prefix` options: +without the tmux prefix, disable the `toggle-term--use-prefix` options: ```tmux set -g @toggle-term-float-key 'M-f' -- cgit v1.2.3