Sublime Forum

Super K key mapping refuses to work on OSX Sierra

#1

I can’t get any of the keyboard shortcuts that require Command + K to work. It seems like the Command + K isn’t being sent to and/or accepted by Sublime Text 3. It works with an extra modifier key (see sample key mapping below). The same problem happened with the previously installed Sublime Text 2, but it didn’t matter too much at the time.

[
{ “keys”: [“super+k”], “command”: “paste” }, // doesn’t work
{ “keys”: [“super+shift+k”], “command”: “paste” } // works fine
]

THINGS ALREADY TRIED:

  • uninstalled and/or disabled every startup and login item
  • uninstalled Sublime Text 2 and /Library/Application Support folder
  • uninstalled Sublime Text 3 and /Library/Application Support folder
  • reinstalled Sublime Text 3
  • looked through key mapping under System Preferences

CONSOLE DEBUGGING
sublime.log_commands(True)
sublime.log_input(True)

Typing Command+K with debug mode enabled outputs nothing in the console. The other modifier keys (shift + k, ctrl + k, alt + k) show the expected output. Same thing for any other key or key combination. Basically, everything works fine except for the Command+K combination which disappears into thin air.

Any thoughts on how to resolve the problem or other steps to take?

Thanks!

~ Chris

0 Likes

#2

Just as a troubleshooting step, have you tried logging into a separate user account on your Mac to see if the bug still occurs there?

0 Likes

#3

Good thought and creating a new login does indeed resolve the problem. It’s clearly not a Sublime issue.

Setting up a new login with fresh installs of everything is is probably a good idea regardless. I’ve migrated between two MBPs and several OSX releases over the past few years without starting from scratch. It’s probably about time to put in a couple of hours to get rid of all the legacy cruft. My short-term workaround for the next couple of weeks is remapping the handful of Super K shortcuts that are useful to me.

1 Like

#4

Ah, finally found the problem by accident this morning.

Growl notifications uses CMD-K to close all notification by default. That prevents Sublime from seeing it.

0 Likes