I want change copy command from Cmd+c to Ctrl+c. I have this code:
hs.hotkey.bind({"ctrl"}, "c", function()
hs.eventtap.keyStroke({"cmd"}, "c")
end)
But it works only after two 'c' fast presses with Ctrl button pressed. It's not a Cmd button problem because Shift+c doesn't work as well.
Haw can I remap Cmd+c combination by Hammerspoon?
My system: Mac OSX 10.14 Mojave
I am using hammerspoon to map ctrl-c and ctrl-v to their respective cmd-c and cmd-v equivalents via:
I can still use the cmd-c and cmd-v keystrokes, but now ctrl-c and ctrl-v also work.