I would like to manage all keybindings for the multiple platforms that I use through one keymap file. If there’s a better way of doing this (not necessarily through one file), I’d love to hear it, but it seems that the platform-specific selectors provided should do the trick.
However I’ve come across a couple of selectors that don’t seem to work when I add the platform specificity. For example, adding a custom binding to
body using platform specificity:
# doesn't work -- in keybinding resolver, this command shows grayed out '.platform-win32 body, .platform-linux body': 'alt-o': 'window:focus-next-pane'
But omitting the platform works fine:
'body': 'alt-o': 'window:focus-next-pane'
The same seems to be true for
.platform-*** atom-workspace .editor .find-and-replace – any binding specified here appears grayed out in the resolver, but putting the bindings in
atom-workspace .editor .find-and-replace works fine.
Any suggestions? See something I’ve missed?