Got an issue with keymapping commands:
Watch this youtube video to see the bug…
As you can see in the video, when I call the commands by keyboard shortcut:
On the first attempt - the function isn’t called.
On the second attempt - the function is called.
On the other hand, when I call the commands via the command pallet, the commands are called even on the first attempt. And continue running without fail.
This leeds me to believe there is something wrong with my keymap.coffee:
'.editor:not(.mini)':
'shift-cmd-h': 'hex:view'
'alt-down':'editor:add-selection-below'
'alt-up':'editor:add-selection-above'
'.editor':
'cmd-k':'jxa:compile'
'shift-cmd-k':'jxa:compileApp'
'cmd-u':'jxa:execute'
However I can see nothing clearly wrong here… So perhaps there’s something wrong with my init.js?
Any ideas?