From 7a8db551a320f15e66e86f14def44d46acde2710 Mon Sep 17 00:00:00 2001 From: Tom Schafer <54135831+thomasschafer@users.noreply.github.com> Date: Tue, 8 Jul 2025 03:34:02 +0100 Subject: [PATCH] add key-modifier-super function (#46) --- helix-term/src/commands/engine/components.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/helix-term/src/commands/engine/components.rs b/helix-term/src/commands/engine/components.rs index 18161b2f1..2b949c00d 100644 --- a/helix-term/src/commands/engine/components.rs +++ b/helix-term/src/commands/engine/components.rs @@ -1475,6 +1475,14 @@ The key modifier bits associated with the shift key modifier. The key modifier bits associated with the alt key modifier. "# ); + register!( + value, + "key-modifier-super", + SteelVal::IntV(KeyModifiers::SUPER.bits() as isize), + r#" +The key modifier bits associated with the super key modifier. + "# + ); register!( "key-event-F?",