summaryrefslogtreecommitdiff
path: root/src/config/keybinds.rs
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-06-14 02:43:45 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-06-14 03:47:07 +0300
commitfbd20ad6e488fb3b9efc1612fdffee6e672976c1 (patch)
treed21daf93241786f8aa6fde23b41cdb9e15182b79 /src/config/keybinds.rs
parentd35c642ef36ee5ac2afe7c1b18ad5a717bc807d8 (diff)
feat: add plugin v1 system
Add manifest-driven plugin actions, event hooks, pane entrypoints, link handlers, and host APIs. Support plugin link, GitHub install, build commands, installed plugin registry, pane movement, runtime context, and plugin docs.
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 {