diff options
Diffstat (limited to 'src/config/keymap/event_from_string.rs')
| -rw-r--r-- | src/config/keymap/event_from_string.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/keymap/event_from_string.rs b/src/config/keymap/event_from_string.rs index 00179c5..663a254 100644 --- a/src/config/keymap/event_from_string.rs +++ b/src/config/keymap/event_from_string.rs @@ -59,6 +59,9 @@ pub fn event_from_string(s: String) -> Result<KeyEvent, String> { } else if inner.starts_with("a-") { inner = &inner[2..]; modifiers |= KeyModifiers::ALT; + } else if inner.starts_with("s-") { + inner = &inner[2..]; + modifiers |= KeyModifiers::SHIFT; } else { break; } |