You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, let me express my thankfulness to the Hammerspoon developers for creating such a useful and well-designed piece of software. Currently, I'm trying to use Hammerspoon to write some custom shortcuts on my Macbook. Specifically, I want the cmd+left shortcut (which traditionally moves the cursor to the beginning of the line) to have the behavior of the alt+left shortcut (which traditionally moves the cursor one "word" backwards). I tried putting this in my init.lua:
And it compiles successfully and stops the cmd+left shortcut from moving the cursor to the beginning of the line, but it seems like the alt+left keystroke does not always get emitted, triggering only about 40-60% of the time. This means most of the time pressing cmd+left does nothing. Any ideas on how to fix this?
The text was updated successfully, but these errors were encountered:
First, let me express my thankfulness to the Hammerspoon developers for creating such a useful and well-designed piece of software. Currently, I'm trying to use Hammerspoon to write some custom shortcuts on my Macbook. Specifically, I want the
cmd+left
shortcut (which traditionally moves the cursor to the beginning of the line) to have the behavior of thealt+left
shortcut (which traditionally moves the cursor one "word" backwards). I tried putting this in myinit.lua
:And it compiles successfully and stops the
cmd+left
shortcut from moving the cursor to the beginning of the line, but it seems like thealt+left
keystroke does not always get emitted, triggering only about 40-60% of the time. This means most of the time pressingcmd+left
does nothing. Any ideas on how to fix this?The text was updated successfully, but these errors were encountered: