aboutsummaryrefslogtreecommitdiff
path: root/src/config/keybinds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/keybinds.rs')
-rw-r--r--src/config/keybinds.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/keybinds.rs b/src/config/keybinds.rs
index cc054995..92f13bf8 100644
--- a/src/config/keybinds.rs
+++ b/src/config/keybinds.rs
@@ -51,6 +51,7 @@ pub enum CommandKeybindType {
#[default]
Shell,
Pane,
+ PluginAction,
}
#[derive(Debug, Clone, Deserialize, Serialize)]
@@ -82,6 +83,7 @@ impl Default for CommandKeybindConfig {
pub enum CustomCommandAction {
Shell,
Pane,
+ PluginAction,
}
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@@ -541,6 +543,7 @@ impl Config {
let action = match command.action_type {
CommandKeybindType::Shell => CustomCommandAction::Shell,
CommandKeybindType::Pane => CustomCommandAction::Pane,
+ CommandKeybindType::PluginAction => CustomCommandAction::PluginAction,
};
let label = bindings.label().unwrap_or_else(|| "unset".to_string());
keybinds.custom_commands.push(CustomCommandKeybind {