aboutsummaryrefslogtreecommitdiffstats
path: root/default-plugins/fixture-plugin-for-tests/src
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2026-06-29 18:10:59 +0200
committerGitHub <noreply@github.com>2026-06-29 18:10:59 +0200
commit245f5141c9bb7eb91f003efac4defc94470243fd (patch)
tree52ae6d003366f97e41c8a1450602aef63c8fdca2 /default-plugins/fixture-plugin-for-tests/src
parentfeat: reload config on theme change (#5135) (diff)
downloadsl0ppij-245f5141c9bb7eb91f003efac4defc94470243fd.tar.gz
sl0ppij-245f5141c9bb7eb91f003efac4defc94470243fd.tar.xz
sl0ppij-245f5141c9bb7eb91f003efac4defc94470243fd.zip
Title frames (#5318)
* initial implementation * improve single line title design * hint text plugin infra * add proto regen task * display alt text in status bar * don't display text with full frames * style alt hover text * fix + style control own pane hover * make multiplayer indications responsive * update snapshots * plugin api * single pane as tab * better scroll styling * fix tests * tab-bar plus hover * plugin surface tests * integration tests * adjust all integration tests * reduce hover noise * add pane id to in place * more integration tests * style: rustfmt * update plugin assets * update assets and snapshots * add pr
Diffstat (limited to 'default-plugins/fixture-plugin-for-tests/src')
-rw-r--r--default-plugins/fixture-plugin-for-tests/src/main.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/default-plugins/fixture-plugin-for-tests/src/main.rs b/default-plugins/fixture-plugin-for-tests/src/main.rs
index 4885054c..ec656443 100644
--- a/default-plugins/fixture-plugin-for-tests/src/main.rs
+++ b/default-plugins/fixture-plugin-for-tests/src/main.rs
@@ -173,6 +173,8 @@ impl ZellijPlugin for State {
BareKey::Char('6') if key.has_no_modifiers() => close_focused_tab(),
BareKey::Char('7') if key.has_no_modifiers() => undo_rename_tab(),
BareKey::Char('8') if key.has_no_modifiers() => quit_zellij(),
+ BareKey::Char('9') if key.has_no_modifiers() => new_pane(),
+ BareKey::Char('0') if key.has_no_modifiers() => toggle_floating_panes(None),
BareKey::Char('a') if key.has_only_modifiers(&[KeyModifier::Ctrl]) => {
previous_swap_layout()
},
@@ -626,6 +628,9 @@ impl ZellijPlugin for State {
// Test clear_pane_highlights
clear_pane_highlights(PaneId::Terminal(1));
},
+ BareKey::Char('i') if key.has_only_modifiers(&[KeyModifier::Super]) => {
+ toggle_floating_panes(Some(2));
+ },
BareKey::Char('a')
if key.has_only_modifiers(&[KeyModifier::Ctrl, KeyModifier::Shift]) =>
{