Has anything changed in ST3 bindings of keypad keys using build 3180 with MacOS Mojave (10.14.x)? Under 10.13.x releases I was able to setup this binding:
{ "keys": ["keypad_minus"], "command": "pre_view" }
But since the switch to Mojave this just self-inserts the “-” character. In this case the keyboard is a USB keyboard set to ANSI type in the system keyboard preferences. The handy keyboard viewer in the menu bar shows that MacOS sees the two minus keys as different.
I used these settings in the console to see what’s happening:
sublime.log_commands(True)
sublime.log_input(True)
That revealed that entering the keypad minus and regular minus keys results in the same keycode:
chr evt: - (0x2d)
For some reason switching that binding to the keypad_enter key works as expected.
I could well be doing something wrong here, do any other MacOS Mojave users have this issue?
Thanks,
Stu