diff options
Diffstat (limited to 'zellij-utils/assets')
-rw-r--r-- | zellij-utils/assets/config/default.kdl | 2 | ||||
-rwxr-xr-x | zellij-utils/assets/plugins/compact-bar.wasm | bin | 887621 -> 888446 bytes | |||
-rwxr-xr-x | zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm | bin | 873465 -> 874943 bytes | |||
-rwxr-xr-x | zellij-utils/assets/plugins/session-manager.wasm | bin | 926195 -> 927194 bytes | |||
-rwxr-xr-x | zellij-utils/assets/plugins/status-bar.wasm | bin | 1029901 -> 1034014 bytes | |||
-rwxr-xr-x | zellij-utils/assets/plugins/strider.wasm | bin | 2109959 -> 2111079 bytes | |||
-rwxr-xr-x | zellij-utils/assets/plugins/tab-bar.wasm | bin | 868307 -> 869437 bytes | |||
-rw-r--r-- | zellij-utils/assets/prost/api.action.rs | 33 |
8 files changed, 34 insertions, 1 deletions
diff --git a/zellij-utils/assets/config/default.kdl b/zellij-utils/assets/config/default.kdl index 16a3450b8..c8e61bf43 100644 --- a/zellij-utils/assets/config/default.kdl +++ b/zellij-utils/assets/config/default.kdl @@ -148,6 +148,8 @@ keybinds { bind "Ctrl g" { SwitchToMode "Locked"; } bind "Ctrl q" { Quit; } bind "Alt n" { NewPane; } + bind "Alt i" { MoveTab "Left"; } + bind "Alt o" { MoveTab "Right"; } bind "Alt h" "Alt Left" { MoveFocusOrTab "Left"; } bind "Alt l" "Alt Right" { MoveFocusOrTab "Right"; } bind "Alt j" "Alt Down" { MoveFocus "Down"; } diff --git a/zellij-utils/assets/plugins/compact-bar.wasm b/zellij-utils/assets/plugins/compact-bar.wasm Binary files differindex a0911ddb6..1b4fac46a 100755 --- a/zellij-utils/assets/plugins/compact-bar.wasm +++ b/zellij-utils/assets/plugins/compact-bar.wasm diff --git a/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm b/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm Binary files differindex 6dba31da3..b5056f248 100755 --- a/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm +++ b/zellij-utils/assets/plugins/fixture-plugin-for-tests.wasm diff --git a/zellij-utils/assets/plugins/session-manager.wasm b/zellij-utils/assets/plugins/session-manager.wasm Binary files differindex 109987c0f..00bb30ff3 100755 --- a/zellij-utils/assets/plugins/session-manager.wasm +++ b/zellij-utils/assets/plugins/session-manager.wasm diff --git a/zellij-utils/assets/plugins/status-bar.wasm b/zellij-utils/assets/plugins/status-bar.wasm Binary files differindex 59859deef..31916ecdb 100755 --- a/zellij-utils/assets/plugins/status-bar.wasm +++ b/zellij-utils/assets/plugins/status-bar.wasm diff --git a/zellij-utils/assets/plugins/strider.wasm b/zellij-utils/assets/plugins/strider.wasm Binary files differindex 9ba73f7ad..11024a361 100755 --- a/zellij-utils/assets/plugins/strider.wasm +++ b/zellij-utils/assets/plugins/strider.wasm diff --git a/zellij-utils/assets/plugins/tab-bar.wasm b/zellij-utils/assets/plugins/tab-bar.wasm Binary files differindex 1b4ff1734..b25aef5cf 100755 --- a/zellij-utils/assets/plugins/tab-bar.wasm +++ b/zellij-utils/assets/plugins/tab-bar.wasm diff --git a/zellij-utils/assets/prost/api.action.rs b/zellij-utils/assets/prost/api.action.rs index 4096b0740..fe2c2144a 100644 --- a/zellij-utils/assets/prost/api.action.rs +++ b/zellij-utils/assets/prost/api.action.rs @@ -5,7 +5,7 @@ pub struct Action { pub name: i32, #[prost( oneof = "action::OptionalPayload", - tags = "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, 39, 40, 41, 42, 43, 44, 45, 46, 47" + tags = "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, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48" )] pub optional_payload: ::core::option::Option<action::OptionalPayload>, } @@ -106,6 +106,8 @@ pub mod action { LaunchPluginPayload(super::LaunchOrFocusPluginPayload), #[prost(message, tag = "47")] MessagePayload(super::CliPipePayload), + #[prost(enumeration = "super::MoveTabDirection", tag = "48")] + MoveTabPayload(i32), } } #[allow(clippy::derive_partial_eq_without_eq)] @@ -341,6 +343,32 @@ impl SearchOption { } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] +pub enum MoveTabDirection { + Left = 0, + Right = 1, +} +impl MoveTabDirection { + /// String value of the enum field names used in the ProtoBuf definition. + /// + /// The values are not transformed in any way and thus are considered stable + /// (if the ProtoBuf definition does not change) and safe for programmatic use. + pub fn as_str_name(&self) -> &'static str { + match self { + MoveTabDirection::Left => "Left", + MoveTabDirection::Right => "Right", + } + } + /// Creates an enum from field names used in the ProtoBuf definition. + pub fn from_str_name(value: &str) -> ::core::option::Option<Self> { + match value { + "Left" => Some(Self::Left), + "Right" => Some(Self::Right), + _ => None, + } + } +} +#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] +#[repr(i32)] pub enum ActionName { Quit = 0, Write = 1, @@ -425,6 +453,7 @@ pub enum ActionName { RenameSession = 80, LaunchPlugin = 81, CliPipe = 82, + MoveTab = 83, } impl ActionName { /// String value of the enum field names used in the ProtoBuf definition. @@ -516,6 +545,7 @@ impl ActionName { ActionName::RenameSession => "RenameSession", ActionName::LaunchPlugin => "LaunchPlugin", ActionName::CliPipe => "CliPipe", + ActionName::MoveTab => "MoveTab", } } /// Creates an enum from field names used in the ProtoBuf definition. @@ -604,6 +634,7 @@ impl ActionName { "RenameSession" => Some(Self::RenameSession), "LaunchPlugin" => Some(Self::LaunchPlugin), "CliPipe" => Some(Self::CliPipe), + "MoveTab" => Some(Self::MoveTab), _ => None, } } |