diff options
| author | Aram Drevekenin <aram@poor.dev> | 2025-06-03 17:15:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-03 17:15:32 +0200 |
| commit | a9f8bbcd197c8d14832fc1ab1fbe4d4111a2014d (patch) | |
| tree | 6d354fdd36cf534d73e0cb81a7cacd3fedc1ebb9 /zellij-utils/src | |
| parent | docs(changelog): theme fixes (diff) | |
| download | sl0ppij-a9f8bbcd197c8d14832fc1ab1fbe4d4111a2014d.tar.gz sl0ppij-a9f8bbcd197c8d14832fc1ab1fbe4d4111a2014d.tar.xz sl0ppij-a9f8bbcd197c8d14832fc1ab1fbe4d4111a2014d.zip | |
feat(ux): improve multiple select (#4221)
* intercept/clear-intercept key APIs
* allow opening a pinned unfocused floating pane
* rework plugin
* improve some apis
* fix tests
* tests for pane groups
* more exact placement and tests
* plugin command permission and cleanup
* improve some multiselect ux
* improve plugin ui
* remove old status indicator
* allow moving plugin out of the way
* style(fmt): rustfmt
* update plugins
* remove old keybinding
* cleanups
* fix: only rename pane if needed
* changelog and some cleanups
* style(fmt): rustfmt
Diffstat (limited to 'zellij-utils/src')
14 files changed, 42 insertions, 1520 deletions
diff --git a/zellij-utils/src/data.rs b/zellij-utils/src/data.rs index 3e888a63..2cceeab8 100644 --- a/zellij-utils/src/data.rs +++ b/zellij-utils/src/data.rs @@ -938,6 +938,7 @@ pub enum Event { PastedText(String), ConfigWasWrittenToDisk, BeforeClose, + InterceptedKeyPress(KeyWithModifier), } #[derive( @@ -969,6 +970,7 @@ pub enum Permission { MessageAndLaunchOtherPlugins, Reconfigure, FullHdAccess, + InterceptInput, } impl PermissionType { @@ -991,6 +993,7 @@ impl PermissionType { }, PermissionType::Reconfigure => "Change Zellij runtime configuration".to_owned(), PermissionType::FullHdAccess => "Full access to the hard-drive".to_owned(), + PermissionType::InterceptInput => "Intercept Input (keyboard & mouse)".to_owned(), } } } @@ -2323,4 +2326,6 @@ pub enum PluginCommand { CloseMultiplePanes(Vec<PaneId>), FloatMultiplePanes(Vec<PaneId>), EmbedMultiplePanes(Vec<PaneId>), + InterceptKeyPresses, + ClearKeyPressesIntercepts, } diff --git a/zellij-utils/src/errors.rs b/zellij-utils/src/errors.rs index cf417ad4..dbc9ba60 100644 --- a/zellij-utils/src/errors.rs +++ b/zellij-utils/src/errors.rs @@ -382,6 +382,8 @@ pub enum ScreenContext { EmbedMultiplePanes, TogglePaneInGroup, ToggleGroupMarking, + InterceptKeyPresses, + ClearKeyPressesIntercepts, } /// Stack call representations corresponding to the different types of [`PtyInstruction`]s. diff --git a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap index 0a78ce71..e3b5eaa4 100644 --- a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap +++ b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string.snap @@ -146,12 +146,6 @@ keybinds clear-defaults=true { bind "Alt j" { MoveFocus "down"; } bind "Alt k" { MoveFocus "up"; } bind "Alt l" { MoveFocusOrTab "right"; } - bind "Alt m" { - LaunchOrFocusPlugin "zellij:multiple-select" { - floating true - move_to_focused_tab true - } - } bind "Alt n" { NewPane; } bind "Alt o" { MoveTab "right"; } bind "Alt p" { TogglePaneInGroup; } diff --git a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap index 81ca2f2d..c7295555 100644 --- a/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap +++ b/zellij-utils/src/kdl/snapshots/zellij_utils__kdl__bare_config_from_default_assets_to_string_with_comments.snap @@ -146,12 +146,6 @@ keybinds clear-defaults=true { bind "Alt j" { MoveFocus "down"; } bind "Alt k" { MoveFocus "up"; } bind "Alt l" { MoveFocusOrTab "right"; } - bind "Alt m" { - LaunchOrFocusPlugin "zellij:multiple-select" { - floating true - move_to_focused_tab true - } - } bind "Alt n" { NewPane; } bind "Alt o" { MoveTab "right"; } bind "Alt p" { TogglePaneInGroup; } diff --git a/zellij-utils/src/plugin_api/event.proto b/zellij-utils/src/plugin_api/event.proto index 9b0e4d2f..760aee0b 100644 --- a/zellij-utils/src/plugin_api/event.proto +++ b/zellij-utils/src/plugin_api/event.proto @@ -55,6 +55,7 @@ enum EventType { PastedText = 29; ConfigWasWrittenToDisk = 30; BeforeClose = 31; + InterceptedKeyPress = 32; } message EventNameList { @@ -89,6 +90,7 @@ message Event { HostFolderChangedPayload host_folder_changed_payload = 24; FailedToChangeHostFolderPayload failed_to_change_host_folder_payload = 25; PastedTextPayload pasted_text_payload = 26; + key.Key intercepted_key_payload = 27; } } diff --git a/zellij-utils/src/plugin_api/event.rs b/zellij-utils/src/plugin_api/event.rs index 88c55827..a853e12d 100644 --- a/zellij-utils/src/plugin_api/event.rs +++ b/zellij-utils/src/plugin_api/event.rs @@ -363,6 +363,12 @@ impl TryFrom<ProtobufEvent> for Event { None => Ok(Event::BeforeClose), _ => Err("Malformed payload for the BeforeClose Event"), }, + Some(ProtobufEventType::InterceptedKeyPress) => match protobuf_event.payload { + Some(ProtobufEventPayload::KeyPayload(protobuf_key)) => { + Ok(Event::InterceptedKeyPress(protobuf_key.try_into()?)) + }, + _ => Err("Malformed payload for the InterceptedKeyPress Event"), + }, None => Err("Unknown Protobuf Event"), } } @@ -741,6 +747,10 @@ impl TryFrom<Event> for ProtobufEvent { name: ProtobufEventType::BeforeClose as i32, payload: None, }), + Event::InterceptedKeyPress(key) => Ok(ProtobufEvent { + name: ProtobufEventType::InterceptedKeyPress as i32, + payload: Some(event::Payload::KeyPayload(key.try_into()?)), + }), } } } @@ -1376,6 +1386,7 @@ impl TryFrom<ProtobufEventType> for EventType { ProtobufEventType::PastedText => EventType::PastedText, ProtobufEventType::ConfigWasWrittenToDisk => EventType::ConfigWasWrittenToDisk, ProtobufEventType::BeforeClose => EventType::BeforeClose, + ProtobufEventType::InterceptedKeyPress => EventType::InterceptedKeyPress, }) } } @@ -1416,6 +1427,7 @@ impl TryFrom<EventType> for ProtobufEventType { EventType::PastedText => ProtobufEventType::PastedText, EventType::ConfigWasWrittenToDisk => ProtobufEventType::ConfigWasWrittenToDisk, EventType::BeforeClose => ProtobufEventType::BeforeClose, + EventType::InterceptedKeyPress => ProtobufEventType::InterceptedKeyPress, }) } } diff --git a/zellij-utils/src/plugin_api/plugin_command.proto b/zellij-utils/src/plugin_api/plugin_command.proto index 3a63b0c8..621b5de6 100644 --- a/zellij-utils/src/plugin_api/plugin_command.proto +++ b/zellij-utils/src/plugin_api/plugin_command.proto @@ -145,6 +145,8 @@ enum CommandName { CloseMultiplePanes = 129; FloatMultiplePanes = 130; EmbedMultiplePanes = 131; + InterceptKeyPresses = 132; + ClearKeyPressesIntercepts = 133; } message PluginCommand { diff --git a/zellij-utils/src/plugin_api/plugin_command.rs b/zellij-utils/src/plugin_api/plugin_command.rs index 833d6270..08a9545e 100644 --- a/zellij-utils/src/plugin_api/plugin_command.rs +++ b/zellij-utils/src/plugin_api/plugin_command.rs @@ -1614,6 +1614,14 @@ impl TryFrom<ProtobufPluginCommand> for PluginCommand { }, _ => Err("Mismatched payload for EmbedMultiplePanes"), }, + Some(CommandName::InterceptKeyPresses) => match protobuf_plugin_command.payload { + Some(_) => Err("InterceptKeyPresses should have no payload, found a payload"), + None => Ok(PluginCommand::InterceptKeyPresses), + }, + Some(CommandName::ClearKeyPressesIntercepts) => match protobuf_plugin_command.payload { + Some(_) => Err("ClearKeyPressesIntercepts should have no payload, found a payload"), + None => Ok(PluginCommand::ClearKeyPressesIntercepts), + }, None => Err("Unrecognized plugin command"), } } @@ -2684,6 +2692,14 @@ impl TryFrom<PluginCommand> for ProtobufPluginCommand { }, )), }), + PluginCommand::InterceptKeyPresses => Ok(ProtobufPluginCommand { + name: CommandName::InterceptKeyPresses as i32, + payload: None, + }), + PluginCommand::ClearKeyPressesIntercepts => Ok(ProtobufPluginCommand { + name: CommandName::ClearKeyPressesIntercepts as i32, + payload: None, + }), } } } diff --git a/zellij-utils/src/plugin_api/plugin_permission.proto b/zellij-utils/src/plugin_api/plugin_permission.proto index 4f1f90f9..72c5b0f9 100644 --- a/zellij-utils/src/plugin_api/plugin_permission.proto +++ b/zellij-utils/src/plugin_api/plugin_permission.proto @@ -14,4 +14,5 @@ enum PermissionType { MessageAndLaunchOtherPlugins = 8; Reconfigure = 9; FullHdAccess = 10; + InterceptInput = 11; } diff --git a/zellij-utils/src/plugin_api/plugin_permission.rs b/zellij-utils/src/plugin_api/plugin_permission.rs index 5b6a831f..ad64b499 100644 --- a/zellij-utils/src/plugin_api/plugin_permission.rs +++ b/zellij-utils/src/plugin_api/plugin_permission.rs @@ -26,6 +26,7 @@ impl TryFrom<ProtobufPermissionType> for PermissionType { }, ProtobufPermissionType::Reconfigure => Ok(PermissionType::Reconfigure), ProtobufPermissionType::FullHdAccess => Ok(PermissionType::FullHdAccess), + ProtobufPermissionType::InterceptInput => Ok(PermissionType::InterceptInput), } } } @@ -53,6 +54,7 @@ impl TryFrom<PermissionType> for ProtobufPermissionType { }, PermissionType::Reconfigure => Ok(ProtobufPermissionType::Reconfigure), PermissionType::FullHdAccess => Ok(ProtobufPermissionType::FullHdAccess), + PermissionType::InterceptInput => Ok(ProtobufPermissionType::InterceptInput), } } } diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap index ca465e22..8a09cae9 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__default_config_with_no_cli_arguments.snap @@ -212,35 +212,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -760,35 +731,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -1266,35 +1208,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -1914,35 +1827,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -2452,35 +2336,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -2856,35 +2711,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -3332,35 +3158,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -3761,35 +3558,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4143,35 +3911,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4579,35 +4318,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -5092,35 +4802,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -5487,35 +5168,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -6047,35 +5699,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap index 3af974e0..e4ac2827 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_env_vars_override_config_env_vars.snap @@ -212,35 +212,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -760,35 +731,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -1266,35 +1208,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -1914,35 +1827,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -2452,35 +2336,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -2856,35 +2711,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -3332,35 +3158,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -3761,35 +3558,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4143,35 +3911,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4579,35 +4318,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -5092,35 +4802,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -5487,35 +5168,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -6047,35 +5699,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap index 5281896f..0f330251 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_themes_override_config_themes.snap @@ -212,35 +212,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -760,35 +731,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -1266,35 +1208,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -1914,35 +1827,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -2452,35 +2336,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -2856,35 +2711,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -3332,35 +3158,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -3761,35 +3558,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4143,35 +3911,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4579,35 +4318,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -5092,35 +4802,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -5487,35 +5168,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -6047,35 +5699,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, diff --git a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap index a56b840e..263c68ee 100644 --- a/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap +++ b/zellij-utils/src/snapshots/zellij_utils__setup__setup_test__layout_ui_config_overrides_config_ui_config.snap @@ -212,35 +212,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -760,35 +731,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -1266,35 +1208,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -1914,35 +1827,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -2452,35 +2336,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -2856,35 +2711,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -3332,35 +3158,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -3761,35 +3558,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4143,35 +3911,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -4579,35 +4318,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -5092,35 +4802,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, @@ -5487,35 +5168,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: { @@ -6047,35 +5699,6 @@ Config { ], KeyWithModifier { bare_key: Char( - 'm', - ), - key_modifiers: { - Alt, - }, - }: [ - LaunchOrFocusPlugin( - RunPlugin( - RunPlugin { - _allow_exec_host_cmd: false, - location: Zellij( - PluginTag( - "multiple-select", - ), - ), - configuration: PluginUserConfiguration( - {}, - ), - initial_cwd: None, - }, - ), - true, - true, - false, - false, - ), - ], - KeyWithModifier { - bare_key: Char( 'n', ), key_modifiers: {}, |
