about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--keychord.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/keychord.lua b/keychord.lua
index 07e34cb..323c028 100644
--- a/keychord.lua
+++ b/keychord.lua
@@ -17,8 +17,11 @@ function App.combine_modifiers(key)
   if down('lalt') or down('ralt') then
     result = result..'M-'
   end
+  if down('lshift') or down('rshift') then
+    result = result..'S-'  -- don't try to use this with letters/digits
+  end
   if down('lgui') or down('rgui') then
-    result = result..'S-'
+    result = result..'s-'
   end
   result = result..key
   return result