Home Download Buy Blog Forum Support

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

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

Postby bblue on Tue Jul 16, 2013 10:31 am

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
bblue
 
Posts: 26
Joined: Mon Oct 10, 2011 10:35 am

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

Postby svenax on Tue Jul 16, 2013 10:46 am

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.
svenax
 
Posts: 151
Joined: Tue Dec 20, 2011 12:47 pm

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

Postby bblue on Tue Jul 16, 2013 12:02 pm

Thank you so much, svenax!

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

Thank you again.

--
bblue
bblue
 
Posts: 26
Joined: Mon Oct 10, 2011 10:35 am

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

Postby skuroda on Tue Jul 16, 2013 9:03 pm

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.
skuroda
 
Posts: 683
Joined: Fri Oct 05, 2012 8:11 am


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 24 guests