jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Add platform specific classes for keybindings #69

Closed chibicode closed 9 years ago

chibicode commented 9 years ago

I'm on a Mac, but for some reason, FoldingText is loading key bindings from Windows and Linux:

cursor_and_outline_ftml_-__users_shu_code_concierge_-_atom

I'm not sure why, but maybe naming files as darwin.cson / linux.cson / win32.cson is not sufficient for Atom packages, and we need to explicitly add selectors?

atom-keymap has this code, but not sure if this applies to packages: https://github.com/atom/atom-keymap/blob/9df60bd09f4179784fd735f01f8b6211716bf079/src/keymap-manager.coffee#L366

jessegrosjean commented 9 years ago

You are correct, thanks!