Sublime Forum

[ST3] Where is Default (OSX).sublime-keymap located?

#1

Hi Sublime Texters!

In OS X, Sublime Text > Preferences > Key Bindings - Default opens a buffer named Default (OSX).sublime-keymap.
Ctrl-clicking on the filename reveals the following path:
~/Library/Application Support/Sublime Text 3/Packages/Default/Default (OSX).sublime-keymap

Now:

  1. under ~/Library/Application Support/Sublime Text 3/Packages/ there is no such a “Default” directory… (neither a hidden one),
  2. where is the file actually located?

Many thank in advance or any enlightenment.


bblue

1 Like

#2

The actual file is found in the application bundle, at /Applications/Sublime Text 3.app/Contents/MacOS/Packages/Default.sublime-package.

However, if you save the file opened with Sublime Text > Preferences > Key Bindings - Default it will end up at the path shown.

0 Likes

#3

Thank you so much, svenax!

Now the second part of my question (did I say it’s a two-part question? :wink::
How do you know that?
How might I discover it without asking?

Thank you again.


bblue

0 Likes

#4

Unlike ST2, ST3 can run plugins from .sublime-package files. These are zip files with renamed extensions. If you do not want to have to manually extract the files, you can try using the PackageResourceViewer plugin. Saving this opened file will save it in the packages directory, in support of the override package files functionality in ST3.

0 Likes