mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-30 09:09:14 +00:00
more comfort on keys
This commit is contained in:
1 parent
15a1665d0a
commit
0489401afd
2 files changed
+4
-2
No files matched your search
@@ -29,7 +29,9 @@ function obj:init()
|
||||
local newModifiers = event:getFlags()
|
||||
if not self.lastModifiers['ctrl'] then
|
||||
if newModifiers['ctrl'] then
|
||||
if newModifiers['shift'] then
|
||||
if (newModifiers['shift'] and newModifiers['cmd']) then
|
||||
;
|
||||
elseif newModifiers['shift'] then
|
||||
hs.eventtap.keyStroke({'shift'}, 'escape', 0)
|
||||
else
|
||||
hs.eventtap.keyStroke(newModifiers, 'escape', 0)
|
||||
|
||||
Reference in new issue
Block a user